Cannot trigger AWS Amplify to re-build without pushing a new commit.
We've been using AWS Amplify for some deployments. What's been annoying is that the build process gets triggered automatically based on diff'ing the latest commit with previous commits.
This gets pretty annoying when you want to do things like bounce your service to pick up new environment variables or modify your build configs.
We were using a temporary solution of pushing empty commits to trigger the re-build. An ugly solution that just feels plain dirty.
Create a webhook for the AWS Amplify project and trigger builds by hitting the webhook with an HTTP request. Just copy the webhook command and paste it into your terminal.
BOOM. Problem solved.
Solution was nestled deep within the bowels of this GitHub issue is the solution. https://github.com/aws-amplify/amplify-console/issues/1140