This repo contains the lambda hook that tests this blue-green deployment.
It is also used here
You need an S3 bucket which will store the lambda function code. This lambda assumes you have a service running on
https://<API_NAME>.<HOSTED_ZONE_NAME>
For example: https://api.my-domain.com
-
Update variables in deploy.sh
-
From your terminal run:
./deploy.sh
In AWS Console go to CloudFormation and manually delete stack "blue-green-deployment-hook"