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 3 years ago
Relevant content
- Accepted Answerasked 2 years ago
- Accepted Answerasked a year ago
- asked 9 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 months ago
- How can I troubleshoot issues when I use the AWS Load Balancer Controller to create a load balancer?AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago