1
0
Files

62 lines
1.4 KiB
Terraform

variable "daily-backup-cron" {
type = string
description = "Daily backup rule cron expression"
}
variable "daily-backup-retention" {
type = number
description = "Daily backup retention period"
}
variable "enable-monthly-backup" {
description = "Enable monthly backup plan. In most cases, monthly backup is not useful."
type = bool
default = false
}
variable "monthly-backup-cron" {
type = string
description = "Monthly backup rule cron expression"
default = null
}
variable "monthly-backup-retention" {
type = number
description = "Monthly backup retention period"
default = null
}
variable "service-opt-in" {
type = map(bool)
description = "If not specified, EC2, RDS, EFS, and S3 are enabled"
default = {
"Aurora" : false,
"DynamoDB" : false,
"EBS" : false,
"EC2" : true,
"EFS" : true,
"FSx" : false,
"Redshift" : false,
"RDS" : true,
"VirtualMachine" : false,
"S3" : true,
"EKS" : false,
"CloudFormation" : false,
"Neptune" : false,
"Redshift Serverless" : false,
"SAP HANA on Amazon EC2" : false,
"Storage Gateway" : false
}
}
variable "backup_kms_key" {
description = "KMS key arn for AWS Backup"
type = string
default = null
}
variable "enable-vss" {
type = bool
description = "Enable VSS for Windows Ec2"
default = false
}