-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
71 lines (59 loc) · 1.78 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
variable "azure" {
type = object({
resource_group_name = string
location = optional(string)
})
description = "Where the resources will be deployed on"
}
variable "name" {
type = string
description = "The name of the automation account. All associated resources' names will also be prefixed by this value"
}
variable "additional_tags" {
type = map(string)
description = "Additional tags for the automation account"
default = {}
}
variable "additional_tags_all" {
type = map(string)
description = "Additional tags for all resources in deployed with this module"
default = {}
}
variable "runbooks" {
type = map(object({
content = string
additional_tags = optional(map(string))
description = optional(string)
log_progress = optional(bool)
log_verbose = optional(bool)
runbook_type = optional(string)
schedule = optional(object({
description = optional(string)
timezone = optional(string)
start_time = optional(string)
expiry_time = optional(string)
parameters = optional(map(string))
hourly = optional(object({
interval = optional(number)
}))
daily = optional(object({
interval = optional(number)
}))
weekly = optional(object({
interval = optional(number)
every = list(string)
}))
monthly = optional(object({
interval = optional(number)
every = list(string)
}))
}))
}))
description = "Defines and manages a list of Runbooks"
default = {}
}
variable "user_assigned_managed_identity_ids" {
type = list(string)
description = "List of managed identity IDs used by the automation account to manage azure resources"
default = []
}