backup

DNXLabs/backup/aws

Terraform Module HCL AWS

Terraform module to automate the backup of data across AWS services using a resource tag.

Install
module "backup" {
source = "DNXLabs/backup/aws"
version = "3.0.4"
}
plain text: /constructs/tfmod-dnxlabs-backup-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-aws-backup ![Lint Status](https://github.com/DNXLabs/terraform-aws-backup/actions) ![LICENSE](https://github.com/DNXLabs/terraform-aws-backup/blob/master/LICENSE) This terraform module automate the backup of data across AWS services using a resource tag. The following resources will be created: - An Identity and Access Management (IAM) that Provides AWS Backup permissions to create backups of all supported resource types on your behalf. - AWS Backup - It is a fully managed backup service that makes it easy to centralize and automate the backup of data across AWS services - AWS Vault - Backup vaults are containers where your backups are stored. You can have one default vault, or multiple vaults to backup to. - AWS Backup plan - Backup rules specify the backup schedule, backup wind

Inputs (21)
NameTypeDescriptionDefault
namestringName of the backup vault to create. required
rule_start_windownumberThe amount of time in minutes before beginning a backup60
selection_resourceslist(any)An array of strings that either contain Amazon Resource Names (ARNs) or match pa[]
max_retention_daysnumberThe maximum retention period that the vault retains its recovery pointsnull
enable_aws_backup_vault_notificationsboolEnable vault notificationsfalse
backup_vault_eventslist(string)An array of events that indicate the status of jobs to back up resources to the [ "BACKUP_JOB_FAILED", "COPY_JOB_FAI
rule_schedulestringA CRON expression specifying when AWS Backup initiates a backup jobnull
rule_completion_windownumberThe amount of time AWS Backup attempts a backup before canceling the job and ret120
rule_lifecycle_cold_storage_afternumberSpecifies the number of days after creation that a recovery point is moved to co30
min_retention_daysnumberThe minimum retention period that the vault retains its recovery pointsnull
enabledboolChange to false to avoid deploying any AWS Backup resourcestrue
account_typestringType of the account to create backup resources."workload"
vault_kms_key_arnstringThe server-side encryption key that is used to protect your backupsnull
vault_notification_sns_topic_arnstringThe Amazon Resource Name (ARN) that specifies the topic for a backup vaults even""
selection_tag_valuestringThe value in a key-value pair"true"
changeable_for_daysnumberThe number of days before the lock date. Until that time, the configuration can null
ruleslist(object({ rule_name List of backup rules[ { "rule_name": "backup-rule" }
rule_lifecycle_delete_afternumberSpecifies the number of days after creation that a recovery point is deleted. Mu120
selection_tag_typestringAn operation, such as StringEquals, that is applied to a key-value pair used to "STRINGEQUALS"
vault_policystringThe backup vault access policy document in JSON format""
selection_tag_keystringThe key in a key-value pair"Backup"
Outputs (2)
vault_arn
plan_id
Resources (8)
aws_backup_planaws_backup_selectionaws_backup_vaultaws_backup_vault_lock_configurationaws_backup_vault_notificationsaws_backup_vault_policyaws_iam_roleaws_iam_role_policy_attachment
Details
FrameworkTerraform Module
LanguageHCL
Version3.0.4
Cloud AWS
★ Stars5
Forks8
Total downloads6.9k
Inputs21
Outputs2
Resources8
LicenseApache-2.0
NamespaceDNXLabs
Updated