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 #2214

Conversation

modular-magician
Copy link
Collaborator

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

…rp#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 f9c6591 into hashicorp:master Jun 23, 2020
@modular-magician modular-magician deleted the downstream-pr-52faa9a1a5d05c5b248d64ecb1a5b8caad5073e3 branch November 16, 2024 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant