user6680
user6680

Reputation: 139

not authorized to perform: amplify:CreateApp on resource... - Amplify Init + Angular

According to the guide I was reading, I'm supposed to run in the cmd amplify configure and then authenticate into aws console and complete the user creation. It takes me to the IAM page so I click Users > Add User

and create the user. It also says it's successfully set up user as you can see in image,

enter image description here

but when I run amplify init,I get the error not authorized to perform: amplify:CreateApp on resource: arn:aws:amplify:us-east... . I looked in permissions, but didn't see an option for amplify so I'm not really sure how to get past this error. What am I missing? I appreciate any help!

enter image description here

Upvotes: 1

Views: 3293

Answers (2)

Saif Farooqui
Saif Farooqui

Reputation: 1

Adding this in case folks stumble across this question in the future.

Here's the full set of permissions to grant access required to deploy Amplify:

AWS Permissions for Amplify

Upvotes: 0

Derek Menénedez
Derek Menénedez

Reputation: 2377

Please go to your IAM in aws.

CREATE POLICY

you need to have this

policy aws

you need to have:

  • Cognito Identity
  • Amplify
  • Cognito Sync
  • Cognito User pools

For now, allow all the actions and all the resources... but for security you need to spicify what actions and resources.

CREATE GROUP

Create group and add the new policy you are created.

CREATE USER

Create user and and the new group.

And that's all.

Upvotes: 7

Related Questions