cloudposse / terraform-aws-dynamodb

Terraform module that implements AWS DynamoDB with support for AutoScaling
https://cloudposse.com/accelerate
Apache License 2.0
86 stars 113 forks source link

Add Protection Deletion to DynamoDB tables #110

Closed Digi-Deli closed 3 months ago

Digi-Deli commented 1 year ago

Describe the Feature

Add deletion_protection_enabled to the module. Terraform has this as an optional argument

Expected Behavior

When the flag set to true the dynamo table to be created or modified with Deletion Protection on

Use Case

We would like to be able to use the flag to avoid accidentally deleting DynamoDB tables. This flag is being enabled by terraform as an optional argument (defaults to false). See documentation deletion_protection_enabled

github-actions[bot] commented 1 year ago

Thank you for reporting the issue! If you haven't already joined our slack community, then we invite you to do so.

This is a great place to get help and ask questions from our AMAZING community.

Slack Community

lplazas commented 1 year ago

I am in need of this feature internally as well, if any of the maintainers (@milldr @alexjurkiewicz @aknysh @nitrocode) can confirm this is something that you want to see implemented I can work on it.

nitrocode commented 1 year ago

Yes please propose the change and it can be reviewed

nnsense commented 3 months ago

I suppose this issue can be closed, the related PR has been merged long ago.