-
Notifications
You must be signed in to change notification settings - Fork 9
/
variables-update-center.tf
55 lines (51 loc) · 1.79 KB
/
variables-update-center.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
variable "update_center_enabled" {
description = "Whether the Update Management Center is enabled."
type = bool
default = false
}
variable "update_center_maintenance_configurations" {
description = "Update Management Center maintenance configurations."
type = list(object({
configuration_name = string
start_date_time = string
duration = optional(string, "02:00")
time_zone = optional(string, "UTC")
recur_every = string
reboot_setting = optional(string, "IfRequired")
windows_classifications_to_include = optional(list(string), [
"Critical",
"Definition",
"FeaturePack",
"Security",
"ServicePack",
"Tools",
"UpdateRollup",
"Updates",
])
linux_classifications_to_include = optional(list(string), [
"Critical",
"Security",
"Other",
])
windows_kb_numbers_to_exclude = optional(list(string), [])
windows_kb_numbers_to_include = optional(list(string), [])
linux_package_names_to_exclude = optional(list(string), [])
linux_package_names_to_include = optional(list(string), [])
}))
default = []
}
variable "update_center_periodic_assessment_enabled" {
description = "Enable auto-assessment (every 24 hours) for OS updates on native Azure virtual machines by assigning Azure Policy."
type = bool
default = true
}
variable "update_center_periodic_assessment_scopes" {
description = "Scope to assign the Azure Policy for auto-assessment. Can be Management Groups, Subscriptions, Resource Groups or Virtual Machines."
type = list(string)
default = []
}
variable "update_center_periodic_assessment_exclusions" {
description = "Exclude some resources from auto-assessment."
type = list(string)
default = []
}