DynamoDB point-in-time recovery disabled

Use DynamoDB point-in-time recovery to provide recovery options for mistakes or data corruption.

Description

DynamoDB point-in-time recovery (PITR) restores a new table from a time after you enabled PITR and within the retention window.

Potential impact

If PITR is off when data is corrupted or deleted, recovery depends on what other backups contain.

Remediation

Set pointInTimeRecovery.enabled to true, then check the available window. Test restoring a new table, reapplying required settings such as access policies and switching the application to it. Keep separate backups for data you must retain beyond that window.

Examples

Both examples keep server-side encryption enabled. Supply the table’s primary key schema and the billing or capacity settings it needs.

Before

yaml
name: aws-eks
runtime: yaml
resources:
  example:
    type: aws:dynamodb:Table
    properties:
      serverSideEncryption:
        enabled: true
      pointInTimeRecovery:
        enabled: false

After

yaml
name: aws-eks
runtime: yaml
resources:
  example:
    type: aws:dynamodb:Table
    properties:
      serverSideEncryption:
        enabled: true
      pointInTimeRecovery:
        enabled: true

References