-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 for autonomousDatabase resource #12298
base: main
Are you sure you want to change the base?
Conversation
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 14 Click here to see the affected service packages
🟢 All tests passed! View the build log |
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @slevenick, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
I don't believe we can add this in a minor version of the provider because it would be changing the default behavior of the resource. @rileykarson is that correct in this case? |
Yeah, we'd strongly prefer to not do so outside of a major. We discuss in https://googlecloudplatform.github.io/magic-modules/best-practices/immutable-fields/ that immutable fields are expected in Terraform. However, if there's undue risk w/ deleting these resources past the standard risks of a database deletion we're glad to continue to discuss an exception here. |
I see that the major release is once every year which might be risk for customer. |
We don't support update API as of now, so every update call can lead to accidental deletion. Can we get exception for 3 of our resources for weekly release. Our service onboarded few weeks ago and we don't have any active customers now. |
@slevenick This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
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.
I'm fine with this being added. We should sync up merging with the other 3 resources so they all go out at the same time
part of : hashicorp/terraform-provider-google#20284
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.