-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvariables.tf
103 lines (81 loc) · 1.77 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
variable "location" {
description = "Location of the network"
default = "canadacentral"
}
variable "tags" {
default = {
}
}
variable "env" {
description = "4 chars env name"
type = string
}
variable "serverType" {
description = "3 chars server type"
type = string
default = "SRV"
}
variable "userDefinedString" {
description = "User defined portion of the server name. Up to 8 chars minus the postfix lenght"
type = string
default = "ADDS"
}
variable "monitoringAgent" {
description = "Should the VM be monitored"
default = null
}
variable "dependancyAgent" {
description = "Should the VM be include the dependancy agent"
default = null
}
variable "ad_domain_name" {
default = "module.local"
}
variable "public_ip" {
description = "Should the VM be assigned public IP(s). True or false."
default = false
}
variable "dnsServers" {
default = ["168.63.129.16"]
}
variable "subnet" {
description = "subnet object to which the VM NIC will connect to"
}
variable "asg" {
description = "ASG resource to join the NIC to"
default = null
}
variable "rootDC1IPAddress" {}
variable "rootDC2IPAddress" {}
variable "rootDC2IPAddress_allocation" {
default = "Static"
}
variable "resource_group" {
default = ""
}
variable "admin_username" {
default = "azureadmin"
}
variable "admin_password" {
default = ""
}
variable "vm_size" {
default = "Standard_B2ms"
}
variable "storage_image_reference" {
default = {
publisher = "MicrosoftWindowsServer"
offer = "WindowsServer"
sku = "2016-Datacenter"
version = "latest"
}
}
variable "managed_disk_type" {
default = "StandardSSD_LRS"
}
variable "priority" {
default = "Regular"
}
variable "encryptDisks" {
default = null
}