initial commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user