Skip to content

UptimeCheckConfig custom delete for 400s #16535

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

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: #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 9e293c4 into hashicorp:main Nov 14, 2023
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 15, 2023
@modular-magician modular-magician deleted the downstream-pr-c607d1f0236f684036c7a461bbc832ca40e54b0e branch November 17, 2024 00:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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