github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/dynamodb/AVD-AWS-0024/Terraform.md (about) 1 2 Enable point in time recovery 3 4 ```hcl 5 resource "aws_dynamodb_table" "good_example" { 6 name = "example" 7 hash_key = "TestTableHashKey" 8 billing_mode = "PAY_PER_REQUEST" 9 stream_enabled = true 10 stream_view_type = "NEW_AND_OLD_IMAGES" 11 12 attribute { 13 name = "TestTableHashKey" 14 type = "S" 15 } 16 17 point_in_time_recovery { 18 enabled = true 19 } 20 } 21 22 ``` 23 24 #### Remediation Links 25 - https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/dynamodb_table#point_in_time_recovery 26