Skip to content

Make DynamoDB Table Backup Schedule Configurable #596

@Basti110

Description

@Basti110

Describe the outcome you'd like

I would like the ability to configure the AWS Backup schedule within the AFT (Account Factory for Terraform) module via a Terraform variable, rather than having it hardcoded.

Specifically, I propose adding a new input variable (e.g., aft_backup_schedule) that defaults to the current hourly value but allows users to override it with a custom cron expression (e.g., daily or weekly) to better suit their operational requirements.

Is your feature request related to a problem you are currently experiencing? If so, please describe.

Currently, the backup schedule is hardcoded to cron(0 * * * ? *) (hourly) in modules/aft-account-request-framework/backup.tf. This rigidity creates the following issues:

Excessive Costs: Hourly backups generate high storage costs and significantly increase AWS Config recording costs due to the volume of resource changes.

Redundancy: Since point_in_time_recovery (PITR) is already active for every table in the stack, hourly snapshots are often unnecessary for many use cases.

Lack of Flexibility: Users cannot adjust the Frequency to match their specific RPO (Recovery Point Objective) or compliance standards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions