-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
110 lines (92 loc) · 2.97 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
variable "resource_group" {
type = string
description = "The name of the resource group."
}
variable "location" {
type = string
description = "The Azure Region in which resources would be created."
}
variable "load_balancer_name" {
type = string
description = "Load Balancer name"
}
variable "vm_scale_set_name" {
type = string
description = "VM Scale Set name"
}
variable "subnet_id" {
type = string
description = "The ID of the Subnet where this Network first Interface should be located in."
}
variable "tags" {
type = map(any)
description = "Resource tags"
default = {}
}
variable "spoke_cidrs" {
type = list(string)
description = "List of IP Address CIDRs that would be managed in Iptables configuration. Traffic would be forwarded between those networks."
default = []
}
variable "default_dns_servers" {
type = list(string)
description = "List of IP Addresses of the DNS Servers that would resolve queries by default. Default value is an Azure DNS Server public ip"
default = ["168.63.129.16"]
}
variable "dnssec_validation" {
type = string
description = "DNSSEC validation value in bind9 config"
default = "no"
validation {
condition = contains(["yes", "no", "auto"], var.dnssec_validation)
error_message = "Please provide one of 'yes', 'no' or 'auto' for DNSSEC config"
}
}
variable "additional_dns_zones" {
type = list(object({
zone_name = string
server_ip_addresses = list(string)
}))
description = "List of objects to configure custom DNS zones. DNS Traffic would be forwarded to mentioned DNS Server IP Address in case zone name is matched in query"
default = []
}
variable "public_ip_prefix_enabled" {
type = string
description = "Boolean flag that determines whether Public IP Address prefix is assigned to VMSS. By default it is disable because NAT Gateway is used for default outbound traffic."
default = false
}
variable "admin_username" {
type = string
description = "VM Scale Set admin username"
default = "azureuser"
}
variable "analytics_workspace_id" {
type = string
description = "Resource ID of Log Analytics Workspace"
default = null
}
variable "lb_enable_diagnostic_setting" {
type = bool
description = "Enable diagnostic setting. var.analytics_workspace_id must be provided"
default = false
}
variable "drc_enabled" {
type = bool
description = "Enable data collection rule. var.analytics_workspace_id must be provided"
default = false
}
variable "drc_datasource_name" {
type = string
description = "Datasource syslog name"
default = "datasource-syslog"
}
variable "drc_facility_names" {
type = list(string)
description = "List of Facility names"
default = ["daemon", "syslog", "user"]
}
variable "drc_log_levels" {
type = list(string)
description = "List of Log levels"
default = ["Debug"]
}