This module is used to create and configure AWS Backup service together with related sns service and accesses
module "backup" {
source = "dasmeta/backup/aws"
version = "x.y.z"
plan_selection_tag = [
{
key = "Environment"
value = "dev"
}
]
rules = [
{
name = "rule1"
schedule = "cron(0 12 * * ? *)"
continuous_backup = true
}
]
}
Name | Version |
---|---|
aws | ~> 5.0 |
Name | Version |
---|---|
aws | ~> 5.0 |
aws.destination | ~> 5.0 |
Name | Source | Version |
---|---|---|
sns_topic | terraform-aws-modules/sns/aws | 6.1.1 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
alarm_email_addresses | E-Mail addresses that should be subscribed to monitoring notifications | list(string) |
[] |
no |
alarm_lambda_arn | ARN of a lambda function that should be subscribed to monitoring notifications | string |
"" |
no |
backup_plan_name | Initial part of the plan name to which will be appended the env | string |
"backup_plan" |
no |
backup_retention_days | Number of days recovery points should be kept. | number |
7 |
no |
backup_selection_resources | Resources which will be backup | list(string) |
[] |
no |
cross_accout_backup | Enable cross account backup | bool |
false |
no |
enable_sns_notifications | Create an SNS topic where backup notifications go | bool |
false |
no |
env | Envrionment for the plan | string |
"prod" |
no |
kms_key_alias | kms key alias | string |
null |
no |
plan_selection_tag | Resource selection for the plan | list(map(string)) |
[ |
no |
region | The region where resources should be managed. | string |
"eu-central-1" |
no |
rules | List of rules to attach to the plan | list(any) |
[ |
no |
vault_name | Backup vault name | string |
"backup_vault" |
no |
No outputs.