-
Notifications
You must be signed in to change notification settings - Fork 9.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
RDS Deletion Protection #18985
Comments
I believe edit: I see. This is a new AWS feature to prevent deletion, even outside of Terraform. |
Support for the new
Which were both released yesterday with version 1.39.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Current Terraform Version
Use-cases
Some companies have trigger happy users, and it would be nice to protect against them by being able to turn on deletion protection for RDS
Attempted Solutions
None
Proposal
Allow terraform users to enable deletion protection. If using terraform to also delete the instance, there could be a "force" command or a user prompt to verify if deletion protection is turned on. If force is true or the user accepts, terraform could turn off deletion protection before destroying. This option is available in the CLI with
modify-db-instance [--deletion-protection | --no-deletion-protection]
The text was updated successfully, but these errors were encountered: