Skip to content

Don't require passing in disabled backup plans #16

@regularfry

Description

@regularfry

What is the problem this feature will solve?

Because the source project contained both S3 and DynamoDB resources, the module configuration assumes that it'll be passed valid backup plans for both. In a project where we don't need to enable all the resource types, the resulting config is needlessly verbose. For instance:

  backup_plan_config_dynamodb = {
                                  "compliance_resource_types": [
                                    "DynamoDB"
                                  ],
                                  "rules": [
                                  ],
                                  "enable": false,
                                  "selection_tag": "NHSE-Enable-Backup"
                                }

What is the feature that you are proposing to solve the problem?

Set the default backup plan for each resource type to a disabled config, so that a resource type will only be included if an enabled config is specified.

What alternatives have you considered?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Sensitive Information Declaration

  • I confirm that neither PII/PID nor sensitive data are included in this form

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions