(dynamodb): deletion policy not applied to replicas from global tables #20220
Labels
@aws-cdk/aws-dynamodb
Related to Amazon DynamoDB
effort/medium
Medium work item – several days of effort
feature/coverage-gap
Gaps in CloudFormation coverage by L2 constructs
feature-request
A feature should be added or improved.
p1
Describe the bug
When provisioning a DynamoDB table with replication enabled, the removal policy is only applied to the primary table, not the replicas.
Expected Behavior
All tables (primary and replicas) should have the same removal policy applied.
Current Behavior
Primary has the selected deletion policy applied, all replicas have the
DESTROY
deletion policyReproduction Steps
Possible Solution
This may be intended? If so what is the rationale?
Additional Information/Context
No response
CDK CLI Version
1.152.0
Framework Version
No response
Node.js Version
16.13.0
OS
OSX
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: