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
It should be possible to change the "allow_stopping_for_update" field without restarting the server if all other fields like machine type aren't changed.
The field should change without restarting the server:
Terraform will perform the following actions:
~ google_compute_instance.mytest
allow_stopping_for_update: "true" => "false"
Actual Behavior
Error: Error applying plan:
1 error(s) occurred:
* google_compute_instance.mytest: 1 error(s) occurred:
* google_compute_instance.mytest: Changing the machine_type, min_cpu_platform, or service_account on an instance requires stopping it. To acknowledge this, please set allow_stopping_for_update = true in your config.
Steps to Reproduce
create compute instance without the allow_stopping_for_update field.
change the machine type and set "allow_stopping_for_update = true" .
change "allow_stopping_for_update = false"
The text was updated successfully, but these errors were encountered:
Hey @benbro, I think this was caused by the issue that #1130 fixed. We just released that fix today- can you try upgrading to 1.7.0 and seeing if that helps?
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 29, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It should be possible to change the "allow_stopping_for_update" field without restarting the server if all other fields like machine type aren't changed.
Terraform Version
Terraform v0.11.3
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
The field should change without restarting the server:
Actual Behavior
Steps to Reproduce
The text was updated successfully, but these errors were encountered: