PITR was disabled by cli command and redeployment of the dynamotable using terraform should re enable it
Actual Behavior
terraform not detecting that PITR was disabled in the deployed dynamodb
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
deployed resource
+ resource "aws_dynamodb_table" "main" {
+ arn = (known after apply)
+ billing_mode = "PAY_PER_REQUEST"
+ deletion_protection_enabled = true
+ hash_key = "applicationId"
+ id = (known after apply)
+ name = "ddb-xxxxx"
+ read_capacity = (known after apply)
+ stream_arn = (known after apply)
+ stream_enabled = true
+ stream_label = (known after apply)
+ stream_view_type = "NEW_AND_OLD_IMAGES"
+ write_capacity = (known after apply)
+ attribute {
+ name = "applicationId"
+ type = "S"
}
+ point_in_time_recovery {
+ enabled = true
}
}
command used to disable the PITR
dynamodb update-continuous-backups --table-name ddb-xxxxx --point-in-time-recovery-specification PointInTimeRecoveryEnabled=false
Steps to Reproduce
1-deploy a dynamodb with PITR enabled using terraform
2-disable the PITR via aws cli
3- re-run your terraform code to redeploy the dynamodb
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.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.3.10
AWS Provider Version
5.55.0
Affected Resource(s)
aws_dynamodb_table
Expected Behavior
PITR was disabled by cli command and redeployment of the dynamotable using terraform should re enable it
Actual Behavior
terraform not detecting that PITR was disabled in the deployed dynamodb
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
deployed resource
command used to disable the PITR dynamodb update-continuous-backups --table-name ddb-xxxxx --point-in-time-recovery-specification PointInTimeRecoveryEnabled=false
Steps to Reproduce
1-deploy a dynamodb with PITR enabled using terraform 2-disable the PITR via aws cli 3- re-run your terraform code to redeploy the dynamodb
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None