-
Notifications
You must be signed in to change notification settings - Fork 0
/
variable.tf
52 lines (46 loc) · 1.15 KB
/
variable.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
variable "create_iam" {
type = bool
description = "if true will create dlm iam role"
default = true
}
variable "role_arn" {
type = string
description = "the iam role arn used for dlm"
default = ""
}
variable "role_name" {
type = string
description = "if create_iam, use the role_name"
default = "dlm-lifecycle-role"
}
variable "target_tags" {
description = "if tags matched, will do the snapshot"
default = {}
}
variable "dlm_name" {
description = "the policy name"
type = string
}
variable "dlm_desc" {
description = "the policy description"
type = string
default = "ebs snapshot lifecycle policy"
}
variable "state" {
description = "Whether the lifecycle policy should be ENABLED or DISABLED"
type = string
default = "ENABLED"
}
variable "schedules" {
description = "schedule rules"
default = {}
}
variable "policy_tags" {
description = "extra tags config for dlm policy"
default = {}
}
variable "resource_type" {
description = "a type be targeted by the lifecycle policy. either INSTANCE or VOLUME"
default = "INSTANCE"
type = string
}