-
Notifications
You must be signed in to change notification settings - Fork 428
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
feat!: adds settings.deletion_protection_enabled to modules #404
feat!: adds settings.deletion_protection_enabled to modules #404
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution @KelvinVenancio!
Please increase the relevant provider versions to >= 4.48.0 for the new capability as well. For example:
version = ">= 4.45.0, < 5.0" |
Hi @apeabody, you're welcome. Sorry, completely forgot, my mistake. I have fixed it now. Thank you. |
@KelvinVenancio |
Team,
The new provider version 4.48.0 introduced a new feature
deletion_protection_enabled
to guard against deletion from all surfaces. We would like to use this feature together with the existingdeletion_protection
that already blocks deletion via Terraform.Until version 4.47.0, we activated this option manually and since it didn't exist in the provider, it didn't drift. Today, we have more than 50 database instances between MySQL and PostgreSQL alarming drift due to this feature of the provider. This PR corrects and resolves this issue.
We appreciate if this can make it into the 14.0.0 release that will be released (if there are no errors and/or considerations in this PR, of course.).
Thanks.