-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
76 lines (68 loc) · 1.66 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
variable "location" {
description = "Location of the network"
default = "westeurope"
}
variable "resource_group_name" {
default = "dc-demo"
}
variable "vnet_address_space" {
default = ["10.0.0.0/16"]
}
variable "subnet_ranges" {
default = ["10.0.0.0/24"]
}
variable "dcs" {
default = {
"dc1" = {
private_ip_address = "10.0.0.5"
type = "primary"
vm_size = "Standard_B2s",
admin_username = "masterdemouser",
admin_password = "Sup3rS4fe!Passw0rd",
},
"dc2" = {
private_ip_address = "10.0.0.6"
type = "secondary"
vm_size = "Standard_B2s",
admin_username = "masterdemouser",
admin_password = "Sup3rS4fe!Passw0rd",
}
}
}
variable "vms" {
default = {
"vm1" = {
private_ip_address = "10.0.0.7"
vm_size = "Standard_B2s",
dsc = true,
NodeConfigurationName = "timezone.localhost"
admin_username = "masterdemouser",
admin_password = "Sup3rS4fe!Passw0rd",
},
"vm2" = {
private_ip_address = "10.0.0.8"
vm_size = "Standard_B2s",
dsc = false,
admin_username = "masterdemouser",
admin_password = "Sup3rS4fe!Passw0rd",
}
}
}
variable "ad_domain_name" {
default = "module.local"
}
variable "domain_admin_username" {
default = "module\\masterdemouser"
}
variable "domain_admin_password" {
default = "Sup3rS4fe!Passw0rd"
}
variable "primary_dns_ip" {
default = "10.0.0.5"
}
variable "dsc_modules" {
default = {
#"ComputerManagementDsc" : "https://www.powershellgallery.com/api/v2/package/ComputerManagementDsc/8.4.0",
"xNetworking" : "https://www.powershellgallery.com/api/v2/package/xNetworking/5.7.0.0"
}
}