-
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
Cannot clear "description" field of google_compute_health_check #7440
Cannot clear "description" field of google_compute_health_check #7440
Comments
description
field of google_compute_health_check
I see the problem Here is another log |
Hi @edwardmedia, @danawillow, I'm surprised this isn't fixed by v3.43.0 that was just released. It also did not make it in the release notes. The commit is there in master: https://github.com/hashicorp/terraform-provider-google/commits/master/google/resource_compute_health_check.go For the beta provider, the commit is nowhere:
Maybe related to the fact that the CI build failed: https://travis-ci.org/github/hashicorp/terraform-provider-google/builds/735106693 |
@pdecat we cut our releases on Wednesday and then they go out on Monday, so this will be in 3.44.0: https://github.com/hashicorp/terraform-provider-google/pull/7527/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR27 |
Oh 🤦 I've been away of the internals of this provider's development for some time. |
Yeah, I think we started around the beginning of 2020? It helps us make sure we get a release out at about the same time every week, and if there are issues with our integration tests we have a few days to resolve them. |
Fix confirmed with v3.44.0, thanks! |
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! |
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)
google_compute_health_check
Terraform Configuration Files
Debug Output
Full debug log: https://gist.github.com/pdecat/ac993f73cf163c34e3362f1ad827ac32
The PUT call does not submit an empty description:
Panic Output
N/A
Expected Behavior
The
description
field that is not set in terraform configuration should be cleared.Actual Behavior
The
description
field is not cleared, which generates a permanent diff on each plan.Steps to Reproduce
terraform apply -auto-approve
gcloud compute health-checks update tcp tcp-health-check --description="OUT OF BAND CHANGE"
terraform apply -auto-approve
terraform plan
Important Factoids
The REST API does not explicitly states how to unset the
description
field: https://cloud.google.com/compute/docs/reference/rest/v1/healthChecksBut the gcloud CLI does:
See https://cloud.google.com/sdk/gcloud/reference/compute/health-checks/update/tcp
References
N/A
The text was updated successfully, but these errors were encountered: