-
Notifications
You must be signed in to change notification settings - Fork 120
Expand file tree
/
Copy pathvariables.tf
More file actions
107 lines (90 loc) · 2.4 KB
/
Copy pathvariables.tf
File metadata and controls
107 lines (90 loc) · 2.4 KB
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
variable "agent_count" {
type = number
default = 3
}
variable "vm_size" {
type = string
default = "Standard_D2_v2"
}
variable "identity_type" {
type = string
default = "SystemAssigned"
}
variable "aks_resource_group_name" {
type = string
default = "<ResourceGroup>"
}
variable "resource_group_location" {
type = string
default = "<ResourceGroupLocation>"
}
variable "cluster_name" {
type = string
default = "<ClusterName>"
}
variable "cluster_location" {
type = string
default = "<ClusterLocation>"
}
variable "dns_prefix" {
type = string
default = "k8stest"
}
variable "workspace_resource_id" {
type = string
default = "/subscriptions/<SubscriptionId>/resourceGroups/<ResourceGroup>/providers/Microsoft.OperationalInsights/workspaces/<workspaceName>"
}
variable "workspace_region" {
type = string
default = "<workspaceRegion>"
}
variable "syslog_levels" {
type = list(string)
default = ["Debug", "Info", "Notice", "Warning", "Error", "Critical", "Alert", "Emergency"]
}
variable "syslog_facilities" {
type = list(string)
default = ["auth", "authpriv", "cron", "daemon", "mark", "kern", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7", "lpr", "mail", "news", "syslog", "user", "uucp"]
}
variable "resource_tag_values" {
description = "Resource Tag Values"
type = map(string)
default = {
"<existingOrnew-tag-name1>" = "<existingOrnew-tag-value1>"
"<existingOrnew-tag-name2>" = "<existingOrnew-tag-value2>"
"<existingOrnew-tag-name3>" = "<existingOrnew-tag-value3>"
}
}
variable "data_collection_interval" {
type = string
default = "1m"
}
variable "namespace_filtering_mode_for_data_collection" {
type = string
default = "Off"
}
variable "namespaces_for_data_collection" {
type = list(string)
default = ["kube-system", "gatekeeper-system", "azure-arc"]
}
variable "enableContainerLogV2" {
type = bool
default = true
}
variable "streams" {
type = list(string)
default = [
"Microsoft-ContainerLog",
"Microsoft-ContainerLogV2",
"Microsoft-KubeEvents",
"Microsoft-KubePodInventory",
"Microsoft-KubeNodeInventory",
"Microsoft-KubePVInventory",
"Microsoft-KubeServices",
"Microsoft-KubeMonAgentEvents",
"Microsoft-InsightsMetrics",
"Microsoft-ContainerInventory",
"Microsoft-ContainerNodeInventory",
"Microsoft-Perf"
]
}