Skip to content

UptimeCheckConfig custom delete for 400s#6645

Merged
modular-magician merged 1 commit into
hashicorp:mainfrom
modular-magician:downstream-pr-c607d1f0236f684036c7a461bbc832ca40e54b0e
Nov 14, 2023
Merged

UptimeCheckConfig custom delete for 400s#6645
modular-magician merged 1 commit into
hashicorp:mainfrom
modular-magician:downstream-pr-c607d1f0236f684036c7a461bbc832ca40e54b0e

Conversation

@modular-magician
Copy link
Copy Markdown
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
@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