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

Set ibm_database deletion_protection default to true #5766

Open
vburckhardt opened this issue Nov 6, 2024 · 0 comments
Open

Set ibm_database deletion_protection default to true #5766

vburckhardt opened this issue Nov 6, 2024 · 0 comments
Labels
enhancement service/Cloud Databases Issues related to Cloud Databases

Comments

@vburckhardt
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Set https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/database#deletion_protection to true as opposed to false. This will prevent users from destroying database by mistake, in particular in the context of issuing schematics destroy commands from cli (no warning / auto approval).

This is also generally a good practice - eg: see equivalent in google provider. https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/sql_database_instance

New or Affected Resource(s)

  • ibm_database

Potential Terraform Configuration

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

References

  • #0000
@vburckhardt vburckhardt changed the title Set deletion_protection default to true Set ibm_database deletion_protection default to true Nov 6, 2024
@github-actions github-actions bot added the service/Cloud Databases Issues related to Cloud Databases label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement service/Cloud Databases Issues related to Cloud Databases
Projects
None yet
Development

No branches or pull requests

1 participant