forked from hashicorp/terraform
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provider/aws: allow empty value for autoscaling schedule parameters
Specifically, this allows you to create a schedule which only changes some of the group parameters without changing others, by setting the parameters you wish to remain empty to -1. This means you can adjust min or max size without affecting the desired capacity, for example. The ad hoc support for -1 isn't as nice as having real support for leaving values out (see hashicorp#5694) but it solves a real use case. Fixes hashicorp#5681.
- Loading branch information
Showing
3 changed files
with
106 additions
and
9 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