amplify-cli icon indicating copy to clipboard operation
amplify-cli copied to clipboard

Can't authroize inti command line

Open InfoPrince21 opened this issue 10 months ago • 1 comments

How did you install the Amplify CLI?

npm

If applicable, what version of Node.js are you using?

18

Amplify CLI Version

12.11.0

What operating system are you using?

Windows

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

Yes, I created a user and gave permissions.

Describe the bug

🛑 User: arn:aws:iam::339712952329:user/RootPrince is not authorized to perform: amplify:CreateBackendEnvironment on resource: arn:aws:amplify:us-east-1:339712952329:apps/d2asptaadn0oid/backendenvironments/

Resolution: Please report this issue at https://github.com/aws-amplify/amplify-cli/issues and include the project identifier from: 'amplify diagnose --send-report' Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/

Session Identifier: 775ac1e3-c343-4b71-bf26-88579bd468b5

Expected behavior

I in fact have permissions set up for the user.

Reproduction steps

create a new account and follow the steps to set up. I followed steps needed to create an account and initialize it through visual studio line commands in the terminal.

Project Identifier

No response

Log output

# Put your logs below this line


Additional information

No response

Before submitting, please confirm:

  • [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • [X] I have removed any sensitive information from my code snippets and submission.

InfoPrince21 avatar Apr 17 '24 04:04 InfoPrince21

Hey @InfoPrince21, does the user profile have AdministratorAccess-Amplify attached?

ykethan avatar Apr 17 '24 15:04 ykethan

Closing the issue due to inactivity. Do reach out to us if you are still experiencing this issue

ykethan avatar May 29 '24 17:05 ykethan

This issue is now closed. 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.

github-actions[bot] avatar May 29 '24 17:05 github-actions[bot]