1 Answer
- Newest
- Most votes
- Most comments
0
Think I've solved using Lambda.
The trick was to wait an healthy status during the deploy process.
On my appspec.yaml I've declared a function to be called AfterAllowTestTraffic
AfterAllowTestTraffic: "CodeDeployAATT-myappname-production"
This function will wait for the healthy target on the green trunk.
Find below the functions used.
https://gist.github.com/sb-davidegironi/36ad718da81c7ae89618c55e3f941c8d
answered 4 years ago