terraform.aws-baseline-infra/modules/storage/aws-backup/variables.tf

52 lines
828 B
HCL

variable "backup-plan-name" {
type = string
description = "Backup plan name"
}
variable "backup-rule-cron" {
type = string
description = "Backup rule cron expression"
}
variable "backup-plan-retention" {
type = number
description = "Backup retention period"
}
variable "service-opt-in" {
type = map(object({
enabled = bool
}))
default = {
"Aurora" : {
enabled = false
}
"DynamoDB" : {
enabled = true
}
"EBS" : {
enabled = false
}
"EC2" : {
enabled = true
}
"EFS" : {
enabled = true
}
"FSx" : {
enabled = false
}
"Redshift" : {
enabled = true
}
"RDS" : {
enabled = true
}
"VirtualMachine" : {
enabled = false
}
"S3" : {
enabled = false
}
}
}