matwerber1 / aws-amplify-react-toolkit

An Amplify+React project that contains some "widgets" to demo/experiment with AWS.
11 stars 3 forks source link

amplify init fails #1

Closed gannaramu closed 3 years ago

gannaramu commented 3 years ago

I get the following error after running the command: amplify init. Could you let me know what could have gone wrong?

image

matwerber1 commented 3 years ago

Hi - Is this your first time using the Amplify CLI?

If so, you will also need to run amplify configure per the docs here: https://docs.amplify.aws/cli/start/install#install-the-amplify-cli

I will update my readme with this. Let me know if it helps?

gannaramu commented 3 years ago

Hello Mat, till now I was using a IAM credential which had administrator access. I also tried creating a new IAM role but still I face the same issue. Could you let me know what else I am doing wrong.

image

gannaramu commented 3 years ago

Hello Mat, I am able to run the amplify init from a different directory. But if I try to run it from the cloned repository I get access denied. Do I need to change anything else?

gannaramu commented 3 years ago

I also see the team-provider-info.josn file which has links to your AWS account do you think this could be the reason?