-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(experimental-ec2-pattern): Set ASG
DesiredCapacity
During a deployment, CloudFormation updates the min and desired. During a rollback (e.g. if the healthcheck failed), CloudFormation only resets the min. The desired is still elevated, meaning the service is over provisioned. Explicitly setting the desired property of the ASG ensures CloudFormation rollback puts the ASG back to the initial state, e.g. correctly provisioned.
- Loading branch information
Showing
3 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters