-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Newly created google_compute_autoscaler has always default min_replicas #4832
Newly created google_compute_autoscaler has always default min_replicas #4832
Comments
Thank you. |
Have the same issue. Running with TF_LOG=true it seems that terraform drops minNumReplicas from POST request if it's set to zero. Therefore autoscaler selects some minimum other than zero. Below post request body terraform made.
|
Ok, this seems to be fixed but when does the fix come out? |
v2.20 (probably tomorrow) |
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! |
Community Note
Terraform Version
Terraform v0.12.5
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
The created resource should have min_replicas = 0.
Actual Behavior
The resource has min_replicas = 2 after creation. I have to run
terraform apply
again to fix this parameter.Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: