Closed shubham2924 closed 2 years ago
Hi :wave:, thanks for opening! While we look into this...
If this issue is related to custom domains, be sure to check the custom domains troubleshooting guide to see if that helps. Also, there is a more general troubleshooting FAQ that may be helpful for other questions.
Lastly, please make sure you've specified the App ID
and Region
in the issue!
Hi Shubham,
The role that your Amplify app uses needs to have read access to Code Commit, so attach a policy such as AWSCodeCommitReadOnly to it.
Best regards, Spencer.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Before opening, please confirm:
App Id
d94c07lzmk2x4
Region
us-east-1
Amplify Console feature
Build settings
Describe the bug
I'm having basic react app. So very firstly I created a codecommit repo and cloned it in my local machine and pushed it to aws codecommit so entire project(all folders, files) are pushed there. And then I moved to deploy that react app on aws amplify chose my repo and hit 'save and deploy' button but getting an error at build stage only, so below down there was something like There was an issue connecting to your repo provider, click "Reconnect repository" in General Settings, and then try your build again. so I went and clicked "Reconnect repository", still the same error and even tried redeploying the app. After that I went to that codecommit repo and under commits/HEAD there was this error "Error The operation completed, but an error occurred. A specified commit ID is not a valid Git object ID. The specified ID was: HEAD. Make sure that your request includes only valid commit IDs, and then try again."
Expected behavior
Expected behaviour is to simply get my app deployed with github for aws amplify deployment it was working fine and getting deployed but we're supposed to use aws codecommit only
Reproduction steps
Build Settings
No response
Additional information
No response