-
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
automatic_restart false in scheduling/google_compute_instance_template forces new resource #224
Comments
Workaround for Also after digging into the code I noticed that deprecated My recommendation would be to remove the |
Thanks for reporting, hopefully #248 fixes this for you. |
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! |
Hi there,
If in
google_compute_instance_template
you definescheduling
blockautomatic_restart
=false
, terraform will always recreate the resource trying to updateautomatic_restart
field totrue
.Terraform Version
Terraform v0.9.11
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/dgolja/1c80d16db90d9bbea5fa1cce21d9f8f9
Expected Behavior
Since there is no change terraform shouldn't recreate the resource.
Actual Behavior
Keep updating the resource, however the new resource is the same.
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: