1
0
Files
terraform.examples/modules/storage/AwsBackupFlex/variables.tf
T
2026-02-13 15:44:24 +08:00

39 lines
733 B
Terraform

variable "vaults" {
type = object({
kms_key_arn = string
})
description = "Map of vaults"
}
variable "policy" {
type = string
description = "Json encoded policy"
}
variable "plans" {
type = object({
rule = object({
rule_name = string
schedule = string
target_vault_name = string
lifecycle = object({
cold_storage_after = number
delete_after = number
})
})
})
description = "Backup plans"
}
variable "selections" {
type = object({
iam_role_arn = string
plan_id = string
selection_tags = object({
type = string
key = string
value = string
})
})
description = "Backup selections"
}