-
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
Missing allow_stopping_for_update into google_compute_instance_template #1768
Comments
Hi @Maxime-SIQUIER, just to check, have you ever been able to use this field with And because this isn't an API feature, but a Terraform behaviour toggle, I'm not sure what you're asking for here. Instance Templates can't be stopped. Can you talk about a workflow you'd like enabled that currently isn't possible? |
Hi @paddycarver, First of all thanks for the quick answer. No it has never worked for sure but I expected it to work when I started to think about to implement it following the management of the min CPU platform. My problem is that I manage all my instance thanks to the template feature, and since I have added the min_cpu_platform, I would like to ensure that user understand that an update of this variable will lead to a reboot of the VM by forcing them to set it at true. As from my understanding but maybe I am wrong, with #1005 we are removing the ForceNew on min_cpu_platform to just a stop/update/reboot if we set the allow_stopping_for_update to true but with the google_compute_instance_template if I update my min_cpu_platform it will lead to a forceNew and I will not be able to benefit of the what I will call soft-update. Am i right ? And does my explanation is clear enough ? I am a little bit quite new on this... ^^" |
Hi @Maxime-SIQUIER, how are you turning instance templates into instances? Managed instance groups? |
Understood and agreed. |
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! |
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
N/A
Panic Output
N/A
Expected Behavior
I should be able to set allow_stopping_for_update into google_compute_instance_template
Actual Behavior
I am not able to set allow_stopping_for_update into google_compute_instance_template and it generate the follwing error when I perform a terraform validate :
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform validate
Important Factoids
N/A
References
I think that the bug has been introduced with the following PR : #1005
The text was updated successfully, but these errors were encountered: