dynamodb: Can't update PITR on inline table replicas when CMK #26552
Labels
bug
Addresses a defect in current functionality.
service/dynamodb
Issues and PRs that pertain to the dynamodb service.
service/kms
Issues and PRs that pertain to the kms service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v1.2.8
registry.terraform.io/hashicorp/aws v4.28.0
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
https://gist.github.com/szesch/69e6025e6670be53c85c96142f6f9283
Expected Behavior
When enabling PITR for global table replicas, each replica should have its PITR updated accordingly.
Actual Behavior
The following error occurs and PITR recovery is not updated for the replicas
This happens because the
UpdateTable
API call is made with only a single replica instead of all replicas.terraform-provider-aws/internal/service/dynamodb/table.go
Line 1049 in 4b0075a
UpdateTable
call fails before the call to update PITR on replicas, that code path is never executed.Steps to Reproduce
terraform apply
to create the global dynamodb tableThe text was updated successfully, but these errors were encountered: