feat: revamped aws-backup module
This commit is contained in:
@@ -37,7 +37,7 @@ No modules.
|
|||||||
| backup\_kms\_key | KMS key arn for AWS Backup | `string` | `null` | no |
|
| 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-cron | Daily backup rule cron expression | `string` | n/a | yes |
|
||||||
| daily-backup-retention | Daily backup retention period | `number` | 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 |
|
| enable-vss | Enable VSS for Windows Ec2 | `bool` | `false` | no |
|
||||||
| monthly-backup-cron | Monthly backup rule cron expression | `string` | `null` | no |
|
| monthly-backup-cron | Monthly backup rule cron expression | `string` | `null` | no |
|
||||||
| monthly-backup-retention | Monthly backup retention period | `number` | `null` | no |
|
| monthly-backup-retention | Monthly backup retention period | `number` | `null` | no |
|
||||||
|
|||||||
@@ -3,17 +3,23 @@ variable "daily-backup-cron" {
|
|||||||
description = "Daily backup rule cron expression"
|
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" {
|
variable "monthly-backup-cron" {
|
||||||
type = string
|
type = string
|
||||||
description = "Monthly backup rule cron expression"
|
description = "Monthly backup rule cron expression"
|
||||||
default = null
|
default = null
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "daily-backup-retention" {
|
|
||||||
type = number
|
|
||||||
description = "Daily backup retention period"
|
|
||||||
}
|
|
||||||
|
|
||||||
variable "monthly-backup-retention" {
|
variable "monthly-backup-retention" {
|
||||||
type = number
|
type = number
|
||||||
description = "Monthly backup retention period"
|
description = "Monthly backup retention period"
|
||||||
@@ -49,12 +55,6 @@ variable "backup_kms_key" {
|
|||||||
default = null
|
default = null
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "enable-monthly-backup" {
|
|
||||||
description = "Enable monthly backup plan"
|
|
||||||
type = bool
|
|
||||||
default = false
|
|
||||||
}
|
|
||||||
|
|
||||||
variable "enable-vss" {
|
variable "enable-vss" {
|
||||||
type = bool
|
type = bool
|
||||||
description = "Enable VSS for Windows Ec2"
|
description = "Enable VSS for Windows Ec2"
|
||||||
|
|||||||
Reference in New Issue
Block a user