You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Visual Studio Code and the AWS Toolkit.
I have two account (for different projects), let's call them account_number_1 and account_number_2, and I am unable to deploy my SAM project to the second account. The error that I get is:
An error occurred (AccessDenied) when calling the CreateChangeSet operation: User: arn:aws:iam::<account_number_1>:user/amplify-elys is not authorized to perform: cloudformation:CreateChangeSet on resource: arn:aws:cloudformation:us-west-1:<account_number_1>:stack/aws-sam-cli-managed-default/* because no identity-based policy allows the cloudformation:CreateChangeSet action
I changed the profile using the AWS Toolkit to the second account, and verified that the aws_access_key_id and the aws_secret_access_key are correct.
Is there a SAM configuration file that needs to be changed? Why is the SAM CLI picking up a user from account_number_1?
The text was updated successfully, but these errors were encountered:
Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Amplify CLI Version
12.1.1
Question
I am using Visual Studio Code and the AWS Toolkit.
I have two account (for different projects), let's call them account_number_1 and account_number_2, and I am unable to deploy my SAM project to the second account. The error that I get is:
I changed the profile using the AWS Toolkit to the second account, and verified that the aws_access_key_id and the aws_secret_access_key are correct.
Is there a SAM configuration file that needs to be changed? Why is the SAM CLI picking up a user from account_number_1?
The text was updated successfully, but these errors were encountered: