[Bug]: Enabling PITR on DynamoDB replica should not cause recreation #29222
Labels
bug
Addresses a defect in current functionality.
regression
Pertains to a degraded workflow resulting from an upstream patch or internal enhancement.
service/dynamodb
Issues and PRs that pertain to the dynamodb service.
Milestone
Terraform Core Version
1.3.7
AWS Provider Version
4.52.0
Affected Resource(s)
Expected Behavior
When enabling PITR on a dynamodb replica it should update the PITR setting without deleting and recreating a replica. An in-place update is the behavior of the AWS CLI. Example of achieving this with the CLI
aws dynamodb update-continuous-backups --region us-west-2 --table-name replica-pitr-test --point-in-time-recovery-specification PointInTimeRecoveryEnabled=true
.Actual Behavior
The replica is deleted and then a new one is created.
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
terraform init
terraform plan -out plan
terraform apply
point_in_time_recovery = true
on a replicaterraform plan -out plan
terraform apply
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
I believe this issue was caused by #29102
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: