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

52 lines
828 B
Terraform
Raw Normal View History

2024-04-29 14:30:22 +08:00
variable "backup-plan-name" {
type = string
description = "Backup plan name"
2022-09-06 11:41:06 +08:00
}
2024-04-29 14:25:25 +08:00
2024-04-29 14:30:22 +08:00
variable "backup-rule-cron" {
type = string
description = "Backup rule cron expression"
}
2024-04-29 14:25:25 +08:00
2024-04-29 14:30:22 +08:00
variable "backup-plan-retention" {
type = number
description = "Backup retention period"
}
2024-04-29 14:25:25 +08:00
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
}
}
2024-04-29 14:25:25 +08:00
}