-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provider/aws: wait for ASG capacity on update
It's a bit confusing to have Terraform poll until instances come up on ASG creation but not on update. This changes update to also poll if min_size or desired_capacity are changed. This changes the waiting behavior to wait for precisely the desired number of instances instead of that number as a "minimum". I believe this shouldn't have any undue side effects, and the behavior can still be opted out of by setting `wait_for_capacity_timeout` to 0.
- Loading branch information
Showing
3 changed files
with
40 additions
and
14 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