aws-samples / aws-serverless-workshop-innovator-island

Welcome to the Innovator Island serverless workshop! This repo contains all the instructions and code you need to complete the workshop.
MIT No Attribution
564 stars 228 forks source link

Step 1 - Amplify Console deployment fails at Build stage #36

Closed alexcasalboni closed 4 years ago

alexcasalboni commented 4 years ago

Hi,

I'm getting this error at the build stage when deploying the frontend:

There was an issue connecting to your repo provider, click "Re-authenticate app" in General Settings, and then try your build again.

I've done that ("Reconnect repository"), but the same message appears again at the next deployment.

The frontend code has been pushed to CodeCommit correctly, and this seems like an IAM issue.

Any suggestions?

alexcasalboni commented 4 years ago

Update: it is an IAM issue with the Amplify Console service role.

The role had already been created for another project, in the same region but allowing access only to another specific CodeCommit repository.

I'd expect Amplify Console to update this service role when creating a new app from a different repository.

jbesw commented 4 years ago

This is not an issue relating to the code in this repo - please reopen with the Amplify Console service.

023PrashantSharma commented 2 years ago

Update: it is an IAM issue with the Amplify Console service role.

The role had already been created for another project, in the same region but allowing access only to another specific CodeCommit repository.

I'd expect Amplify Console to update this service role when creating a new app from a different repository.

i am also facing same issue, how can i resolve this one