-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
142 lines (92 loc) · 2.38 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# Copyright 2020 Hewlett Packard Enterprise Development LP
variable "vsphere_server" {}
variable "vsphere_user" {}
variable "vsphere_password" {}
variable "template_username" {}
variable "template_password" {}
variable "db_ip_address" {
default = "172.16.20.110"
description = "IP address of DB server"
}
variable "db_hostname" {
default = "eshop-database"
description = "A prefix for the virtual machine name."
}
variable "app_ip_address" {
default = "172.16.20.111"
description = "IP address of APP server"
}
variable "app_hostname" {
default = "eshop-app"
description = "A prefix for the virtual machine name."
}
variable "web_ip_address" {
default = "172.16.20.112"
description = "IP address of WEB server"
}
variable "web_hostname" {
default = "eshop-web"
description = "A prefix for the virtual machine name."
}
variable "datacenter" {
description = "Specify the vmware datacenter"
default = "Datacenter1"
}
variable "datastore" {
description = "Specify the vmware datastore"
default = "3PAR_A64G-10TB-C3-01"
}
variable "resource_pool" {
description = "Specify the resource pool"
default = "VMResourcePool1"
}
variable "vm_cluster_name" {
description = "Specify the cluster name"
default = "Cluster1"
}
variable "network" {
description = "Specify the network"
default = "vxw-dvs-693-virtualwire-5-sid-5001-Green-Net"
}
variable "template" {
description = "Specify Ubuntu1604 template having docker and docker compose installed"
default = "eshopterraform"
}
variable "disk_name" {
description = "Specify the disk name"
default = "root"
}
/*variable "disk_size" {
description = "Specify the disk size"
default = 60
}*/
/*variable "cpu" {
description = "Specify the number of CPUs"
default = "4"
}*/
#variable "memory" {
#
# description = "Specify the memory size in MB"
# default = 16384
#}
variable "dhcp" {
default = "false"
description = "set it to true if environment using DHCP"
}
variable "netmask" {
default = "24"
description = "Netmask"
}
variable "gateway" {
default = "172.16.20.1"
description = "Gateway"
}
variable "nameservers" {
#default = ["8.8.8.8"]
description = "list of name servers"
}
#variable proxy {
# type = "string"
# default = "16.85.88.10:8080"
# description = "Proxy server IP address with port"
#}