generated from blackbird-cloud/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
96 lines (85 loc) · 2.6 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
variable "name" {
type = string
description = "(Required) Name of backup resource"
}
variable "create_backup_region_settings" {
type = bool
default = true
description = "(Optional) Create an AWS Backup Region Settings resource."
}
variable "create_backup_plan" {
type = bool
default = true
description = "(Optional) Create an AWS Backup plan, requires the rules variable to be configured as well."
}
variable "create_backup_vault_policy" {
type = bool
default = false
description = "(Optional) Create an AWS Backup Policy"
}
variable "resource_type_opt_in_preference" {
default = {
"Aurora" = true
"DocumentDB" = true
"DynamoDB" = true
"EBS" = true
"EC2" = true
"EFS" = true
"FSx" = true
"Neptune" = true
"RDS" = true
"Storage Gateway" = true
"VirtualMachine" = true
"CloudFormation" = true
"Redshift" = true
"Timestream" = true
"S3" = true
}
type = any
description = "(Optional) A map of services along with the opt-in preferences for the Region."
}
variable "resource_type_management_preference" {
type = any
description = "(Optional) A map of services along with the management preferences for the Region."
default = {
"DynamoDB" = true
"EFS" = true
}
}
variable "selection" {
type = object({
resources : list(string),
not_resources : list(string),
condition : any
})
default = {
not_resources = []
resources = []
condition = {}
}
description = "(Optional) Manages selection conditions for AWS Backup plan resources."
}
variable "kms_key_arn" {
type = string
description = "(Required) The server-side encryption key that is used to protect your backups."
}
variable "tags" {
description = "(Optional) Metadata that you can assign to help organize the resources that you create. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level."
type = map(string)
default = {}
}
variable "rules" {
type = list(any)
description = "(Optional) An list of rules to create for the backup plan."
default = []
}
variable "iam_role_arn" {
type = string
default = ""
description = "(Optional) IAM role arn to use when making backups."
}
variable "vault_policy" {
type = string
default = null
description = "(Optional) The backup vault access policy document in JSON format."
}