-
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
Remove deprecated internalCheckers from google_monitoring_uptime_check_config #3899
Comments
Hmm, a deprecated field should continue to work. Have you used this field in the past? & would it be possible to attach debug logs here? |
Thank you for your response. The problem is that, internalCheckers, require a field to be present that is "is_internal". But if you try to pass that in, the terraform returns:
Reference: Also in the API definition I don't see the isInternal/is_internal flag. https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.uptimeCheckConfigs/create Screenshot from API documentation: Also to answer your question, no this is the first time I was trying to use the field. I can try to get the debug logs for you if the above doesn't help. |
The field appeared in a past revision of the documentation, around when we wrote the Terraform support for the resource. We'd used our code generator, and unfortunately it doesn't appear the field was tested. Based on the hard removal of the field, I suspect it didn't actually work, and was previously inadvertently surfaced in the REST docs. I'll follow through with the product team to see what's happening here, and remove this from our docs if appropriate. |
Confirmed upstream, this field was erroneously surfaced to the cloud.google.com docs and then from there to Terraform. Leaving this open to track removal from the provider config + docs. |
Closed with GoogleCloudPlatform/magic-modules#1974 |
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
Spent couple of hours trying to get my head around this one, the is_internal shouldn't be in the docs or the code and API doesn't support internalCheckers anymore.
Terraform Version
Terraform v0.11.14
Affected Resource(s)
google_monitoring_uptime_check_config
Terraform config
Output
Expected Behavior
Should have created the check.
Actual Behavior
Doesn't create the check with is_internal = true and internalCheckers is now deprecated according to API Docs.
References
Documentation where it says its deprecated:
https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.uptimeCheckConfigs
The text was updated successfully, but these errors were encountered: