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

Add deletion_protection to container cluster #1512

Conversation

modular-magician
Copy link
Collaborator

fixes hashicorp/terraform-provider-google#10168
upgrade guide: GoogleCloudPlatform/magic-modules#9087

Creates deletion_protection which is enabled by default.
Commits are separated out for review convenience (except for test fixes)

Essentially used the same approach for deletion_protection and the state upgrader as in https://github.com/GoogleCloudPlatform/magic-modules/pull/3450/files

Release Note Template for Downstream PRs (will be copied)

container: `google_container_cluster` now has `deletion_protection` enabled to `true` by default. When enabled, this field prevents Terraform from deleting the resource.

Derived from GoogleCloudPlatform/magic-modules#9013

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician requested a review from a team as a code owner September 26, 2023 21:54
@modular-magician modular-magician requested review from shuyama1 and removed request for a team September 26, 2023 21:54
@modular-magician modular-magician merged commit df57320 into GoogleCloudPlatform:FEATURE-BRANCH-major-release-5.0.0 Sep 26, 2023
3 of 5 checks passed
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.

1 participant