Amplify job is in pending state
So GitHub repository and Amplify are connected. When I push anything to the active branches it triggers Amplify (webhook is working correctly), and creates a new deployment, but the build is not started. There are no logs or messages which can point to the problem. I’ve discovered only one similar problem in Discord, with only one proposition to check Cloudformation for any rollbacks that may prevent the deployment. I’ve not found such.
Application framework: React.
Backend is not hosted on Amplify.
I’ve tried to find similar problems and their solutions. I have been looking through Amplify issues, the Discord channel, checking AWS settings and environment variables, searching for any logs, stopping and starting jobs using AWS CLI, and checking permissions.
2
Answers
The solution to the problem is straightforward. There was a problem with the payment and, as an IAM user, I hadn't permission to check this, while stakeholders told me everything was OK. :)
The following steps can be done to troubleshoot the issue of AWS Amplify deployment getting stuck in a permanent "pending" state: