You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GCE allows multiple policies to be applied to an autoscaler. The user can specify cpu utilization, load balancing utilization and multiple metrics utilizations if they choose.
The metric utilization target types in GCE are gauge, delta/min, delta/sec.
Actual Behavior:
Terraform doesn't support multiple policies for an autoscaler in a config file.
When Terraform attempts to update an autoscaler with a new policy (ex: changing from cpu utilization to load balancer utilization) it creates an autoscaler with both policies.
The metric utilization target types for a Terraform config file are gauge, delta, cumulative
Steps to Reproduce:
The following resource will cause Terraform to complain because multiple policies are specified, although gce lets the user select multiple policies.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!
ghost
locked and limited conversation to collaborators
Mar 30, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This issue was originally opened by @nwwebb as hashicorp/terraform#7614. It was migrated here as part of the provider split. The original body of the issue is below.
Terraform Version:
v0.6.16
Affected Resource:
google_compute_autoscaler
Expected Behavior:
Actual Behavior:
Steps to Reproduce:
The following resource will cause Terraform to complain because multiple policies are specified, although gce lets the user select multiple policies.
Also, if you were to apply this autoscaler:
Followed by this:
Terraform will create an autoscaler with load balancing and cpu utilization set rather than remove the cpu utilization.
@lwander
The text was updated successfully, but these errors were encountered: