-
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
Updating description field of google_compute_instance forces replacement #11433
Updating description field of google_compute_instance forces replacement #11433
Comments
Note: This is sized assuming #6857 is complete (6857 is a prerequisite) |
I've gone through this issue and the request is regarding support for the description field to not be Force-New. |
b/263862919 |
Working on this. PR coming |
…hashicorp#9748) Co-authored-by: Luca Prete <[email protected]> [upstream:ce85734ca809d9b8769df5456854ea8f6b680468] Signed-off-by: Modular Magician <[email protected]>
…16900) [upstream:ce85734ca809d9b8769df5456854ea8f6b680468] Signed-off-by: Modular Magician <[email protected]>
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. |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Terraform v1.1.7
on windows_amd64
Affected Resource(s)
google_compute_instance
Terraform Configuration Files
I don't have an anonymized reproducer at this time but could provide one if needed.
Debug Output
I don't have an anonymized output at this time and I am not sure it will be needed but can provide one if necessary.
Expected Behavior
google_compute_instance
to GCP with some value for fielddescription
description
field in Terraform file andapply
againActual Behavior
google_compute_instance
to GCP with some value for fielddescription
description
field in Terraform file andapply
againe.g.:
Steps to Reproduce
Deploy a VM and update the description field after deployment. See above.
Important Factoids
I initially thought this was due to some GCP API limitation but looking at the instance endpoint there is an
update
method that seems to be able to update thedescription
field:https://cloud.google.com/compute/docs/reference/rest/v1/instances/update
Moreover the GCP documentation also seems to say we should be able to update the description without affecting the VM here:
https://cloud.google.com/compute/docs/instances/update-instance-properties#updatable-properties
The text was updated successfully, but these errors were encountered: