Terraform module for configuring AWS Backup.
This module creates a new vault, named everything
, in which the backup plans use as a destination.
This module creates two backup plans:
backup-daily-retain-30-days
plans daily backups, which are deleted every 30 days. The backups start at 0:30 and must finish within 6 hours of starting.backup-daily-cold-storage-monthly-retain-30-days
plans daily backups, which are deleted every 30 days. As above, the backups start at 0:30 and must finish within 6 hours of starting.
This module selects resources for the default plan with the following tag/key values. Resources can be excluded by setting backup
to false
:
is-production
:true
backup
:!false
Non-production environments can also make use of backup plans with the following tag/key values:
is-production
:!true
backup
:true
module "backup" {
source = "github.com/ministryofjustice/modernisation-platform-terraform-baselines//modules/backup"
iam_role_arn = ""
}
Name | Description | Type | Default | Required |
---|---|---|---|---|
iam_role_arn | IAM role ARN for the AWS Backup service role | string | yes | |
tags | Tags to apply to resources | map | {} | no |
None.
If you're looking to raise an issue with this module, please create a new issue in the Modernisation Platform repository.