Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mode enum and scale down controls for Compute AutoScaler #247

Conversation

modular-magician
Copy link
Contributor

Resolves the following two issues
Fixes: hashicorp/terraform-provider-google#6363
Fixes: hashicorp/terraform-provider-google#6636
Fixes: hashicorp/terraform-provider-google#5521

Release Note Template for Downstream PRs (will be copied)

compute: Added `mode` to `google_compute_autoscaler` `autoscaling_policy`
compute: Added `scale_down_control` for `google_compute_autoscaler` `autoscaling_policy` (beta only)

Derived from GoogleCloudPlatform/magic-modules#3693

* Add mode enum and scale down controls for Compute AutoScaler

* Add mode enum for Compute AutoScaler in the correct API block

* Add defaults for mode and default_from_api for scale down controls

* Add tests for scale_down_controls and set at_least_one_of for it

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit 4944f92 into ansible-collections:master Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant