Skip to content
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

UptimeCheckConfig custom delete for 400s #6645

Conversation

modular-magician
Copy link
Collaborator

Add a custom delete method for UptimeCheckConfigs so 400 errors can warn users to delete their Alert Policies first.

Fixes: hashicorp/terraform-provider-google#10176

monitoring: Added error message for `google_monitoring_uptime_check_config` deletes on 400 response to delete Alert Policies first.

Derived from GoogleCloudPlatform/magic-modules#9429

[upstream:c607d1f0236f684036c7a461bbc832ca40e54b0e]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit 8dd3e40 into hashicorp:main Nov 14, 2023
4 checks passed
@modular-magician modular-magician deleted the downstream-pr-c607d1f0236f684036c7a461bbc832ca40e54b0e branch November 16, 2024 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not possible to delete uptime check (google_monitoring_uptime_check_config)
1 participant