1
0

feat: revamped aws-backup module

This commit is contained in:
xpk
2026-03-13 14:18:11 +08:00
parent d4c778e201
commit 4c3754e79f
2 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ No modules.
| backup\_kms\_key | KMS key arn for AWS Backup | `string` | `null` | no |
| daily-backup-cron | Daily backup rule cron expression | `string` | n/a | yes |
| daily-backup-retention | Daily backup retention period | `number` | n/a | yes |
| enable-monthly-backup | Enable monthly backup plan | `bool` | `false` | no |
| enable-monthly-backup | Enable monthly backup plan. In most cases, monthly backup is not useful. | `bool` | `false` | no |
| enable-vss | Enable VSS for Windows Ec2 | `bool` | `false` | no |
| monthly-backup-cron | Monthly backup rule cron expression | `string` | `null` | no |
| monthly-backup-retention | Monthly backup retention period | `number` | `null` | no |
+11 -11
View File
@@ -3,17 +3,23 @@ variable "daily-backup-cron" {
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 "daily-backup-retention" {
type = number
description = "Daily backup retention period"
}
variable "monthly-backup-retention" {
type = number
description = "Monthly backup retention period"
@@ -49,12 +55,6 @@ variable "backup_kms_key" {
default = null
}
variable "enable-monthly-backup" {
description = "Enable monthly backup plan"
type = bool
default = false
}
variable "enable-vss" {
type = bool
description = "Enable VSS for Windows Ec2"