-
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
Persistent terraform plan Changes with google_compute_region_disk Labels Including goog-gke-volume #16528
Comments
I can repro it
|
@zli82016 would this be an example of an issue that will be fixed in the next release by your pull request? |
It is a separate issue. I will look into it. |
This is a regression introduced in provider 5.x due to the labels rework and cannot be resolved. Please see more details in the provider 5.0 upgrade guide. It is caused by the empty string label value. Can you please replace the label value with |
Hey, as the label is originally set by the Platform, i am a bit worried that changing it's value has some sort of side-effect. |
Do you know which platform the label is set by? Do you have more details? The label is set in the configuration, and not returned as the system label by API. |
Hi, sorry by "platform" i meant Google Cloud itself, but more precisely the GKE Service. You can read more about this here https://cloud.google.com/kubernetes-engine/docs/how-to/creating-managing-labels#automatically-applied-labels Hope this clarifies |
Thanks for the information. You can use
Sorry for the issue. |
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
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
The terraform apply should recognize the applied label configuration and not propose any changes on subsequent terraform plan executions when no changes are made to the labels.
Actual Behavior
Even after applying the configuration with the goog-gke-volume label, every execution of terraform plan suggests that there are changes to be made to the terraform_labels.
Steps to Reproduce
Important Factoids
References
b/311366422
The text was updated successfully, but these errors were encountered: