Open oshchepkov opened 1 year ago
Hey @oshchepkov :wave: thanks for raising this! The AdministratorAccess-Amplify
managed policy currently does not have all IAM policies needed for container-based deployments. While we work to improve this can you manually add this permission in an inline policy on your user amplify-user
? Or use the AdministratorAccess
managed policy
I'll transfer this to our Studio repo for updating the managed policy to include route53:ListHostedZones
Thank you @josefaidt . Adding new inline policy with "route53:ListHostedZones" action to my "amplify-user" has resolved my issue.
How did you install the Amplify CLI?
npm install -g @aws-amplify/cli
If applicable, what version of Node.js are you using?
18.16.1
Amplify CLI Version
12.1.1
What operating system are you using?
mac os
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
no changes made
Describe the bug
User: arn:aws:iam::345887413548:user/amplify-user is not authorized to perform: route53:ListHostedZones because no identity-based policy allows the route53:ListHostedZones action
Expected behavior
"amplify add hosting" completes successfully enabling Fargate container deployments
Reproduction steps
User: arn:aws:iam::345887413548:user/amplify-user is not authorized to perform: route53:ListHostedZones because no identity-based policy allows the route53:ListHostedZones action
Project Identifier
ecf6a0cf9339035613db3621d03aba8d
Log output
Additional information
No response
Before submitting, please confirm: