forked from cloudposse/terraform-aws-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
111 lines (94 loc) · 3.15 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
variable "kms_key_arn" {
type = string
description = "The server-side encryption key that is used to protect your backups"
default = null
}
variable "schedule" {
type = string
description = "A CRON expression specifying when AWS Backup initiates a backup job"
default = null
}
variable "start_window" {
type = number
description = "The amount of time in minutes before beginning a backup. Minimum value is 60 minutes"
default = null
}
variable "completion_window" {
type = number
description = "The amount of time AWS Backup attempts a backup before canceling the job and returning an error. Must be at least 60 minutes greater than `start_window`"
default = null
}
variable "cold_storage_after" {
type = number
description = "Specifies the number of days after creation that a recovery point is moved to cold storage"
default = null
}
variable "delete_after" {
type = number
description = "Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `cold_storage_after`"
default = null
}
variable "backup_resources" {
type = list(string)
description = "An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan"
default = []
}
variable "selection_tags" {
type = list(object({
type = string
key = string
value = string
}))
description = "An array of tag condition objects used to filter resources based on tags for assigning to a backup plan"
default = []
}
variable "destination_vault_arn" {
type = string
description = "An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup"
default = null
}
variable "copy_action_cold_storage_after" {
type = number
description = "For copy operation, specifies the number of days after creation that a recovery point is moved to cold storage"
default = null
}
variable "copy_action_delete_after" {
type = number
description = "For copy operation, specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `copy_action_cold_storage_after`"
default = null
}
variable "plan_name_suffix" {
type = string
description = "The string appended to the plan name"
default = null
}
variable "vault_name" {
type = string
description = "Override target Vault Name"
default = null
}
variable "vault_enabled" {
type = bool
description = "Should we create a new Vault"
default = true
}
variable "plan_enabled" {
type = bool
description = "Should we create a new Plan"
default = true
}
variable "iam_role_enabled" {
type = bool
description = "Should we create a new Iam Role and Policy Attachment"
default = true
}
variable "iam_role_name" {
type = string
description = "Override target IAM Role Name"
default = null
}
variable "enable_continuous_backup" {
type = bool
description = "Enable continuous backups for supported resources."
default = null
}