-
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
removing liveness_probe declaration from google_cloud_run_v2_service does not remove the probe from the service #17468
Comments
This field was marked as This means the behaviour is correct as written, but could very well be wrong- it was marked as such in GoogleCloudPlatform/magic-modules#6987. That's an unusual change, and I can't tell if it was intended or not, as it doesn't seem to have been discussed in review. If there's any situation that Cloud Run will provide a liveness_probe value when one wasn't sent, marking it this way was correct and the surprise behaviour you're seeing is a side effect. However if it isn't, we should remove |
I believe that cloud_run does provide a default value when one is not supplied for the startup_probe (there must be a startup_probe defined). I'm not completely sure what the behavior is with respect to liveness_probe -- if there is one enabled by default its operation doesn't produce any visible gcloud logs -- and while google explicitly documents the default behavior of the startup_probe I don't find similar language anywhere for the liveness_probe ... When I remove the liveness_probe configuration parameter via the ui -- nothing about it is visible in the ui any longer ... |
@breathe @rileykarson I think this issue can be closed? Could you please double-check if #20753 is the same problem on a different field? Happy to open a PR if that's the case |
Community Note
Terraform Version
Affected Resource(s)
google_cloud_run_v2_service
Terraform Configuration
Debug Output
No response
Expected Behavior
No response
Actual Behavior
No response
Steps to reproduce
terraform apply
Important Factoids
No response
References
No response
b/328077381
The text was updated successfully, but these errors were encountered: