-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
201 lines (165 loc) · 4.87 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
variable "instance_name" {
description = "Name assigned to the instance. An instance number will be appended to the name."
type = string
default = "AION"
}
variable "instance_count" {
description = "Number of AION instances to create"
type = number
default = 1
}
variable "num_cpus" {
description = "Number of virtual processor cores assigned to an instance"
type = number
default = "2"
}
variable "memory" {
description = "Size of the virtual machine's memory, in MB"
type = number
default = "2048"
}
variable "template_name" {
description = "Name of the template created from the OVA"
type = string
}
variable "os_disk_size_gb" {
type = number
description = "Size of the OS disk in GB. When null size will be determined from the template image."
default = null
}
variable "datacenter" {
description = "vSphere datacenter name"
type = string
}
variable "datastore" {
description = "vSphere datastore name"
type = string
}
variable "resource_pool_id" {
description = "vSphere resource pool ID"
type = string
}
variable "mgmt_plane_network_id" {
description = "Management network ID"
type = string
}
variable "macs" {
description = "MAC address list. Automatically set if not specified."
type = list(string)
default = []
}
variable "ips" {
description = "Static IPv4 address list"
type = list(string)
}
variable "ip_netmask" {
description = "IPv4 netmask"
type = string
}
variable "ip_gateway" {
description = "IPv4 gateway"
type = string
}
variable "private_key_file" {
description = "SSH private key file"
type = string
}
variable "public_key_file" {
description = "SSH public key file"
type = string
}
variable "dest_datastore_folder" {
description = "Destination datastore folder for cloud-init ISO images"
type = string
}
variable "enable_provisioner" {
description = "Enable provisioning. When enabled instances will be initialized with the specified variables."
type = bool
default = true
}
variable "aion_url" {
description = "AION URL. An example URL would be https://example.spirentaion.com."
type = string
}
variable "aion_user" {
description = "AION user registered on aion_url"
type = string
}
variable "aion_password" {
description = "AION user password for aion_url"
type = string
}
variable "cluster_names" {
description = "Instance cluster names. List length must equal instance_count."
type = list(string)
default = []
}
variable "node_names" {
description = "Instance cluster node names. List length must equal instance_count."
type = list(string)
default = []
}
variable "admin_email" {
description = "Cluster admin user email. Use this to login to instance web page. Default is obtained from AION user information."
type = string
default = ""
}
variable "admin_password" {
description = "Cluster admin user password. Use this to login to to the instance web page."
type = string
}
variable "admin_first_name" {
description = "Cluster admin user first name. Default is obtained from AION user information."
type = string
default = ""
}
variable "admin_last_name" {
description = "Cluster admin user last name. Default is obtained from AION user information."
type = string
default = ""
}
variable "local_admin_password" {
description = "Cluster local admin password for instance SSH access. Will use admin_password if not specified."
type = string
default = ""
}
variable "node_storage_provider" {
description = "Cluster node storage provider"
type = string
default = "local"
}
variable "node_storage_remote_uri" {
description = "Cluster node storage URI. Leave blank for default when provider is local"
type = string
default = ""
}
variable "http_enabled" {
description = "Allow HTTP access as well as HTTPS. Normally this is not recommended."
type = bool
default = false
}
variable "metrics_opt_out" {
description = "Opt-out of Spirent metrics data collection"
type = bool
default = false
}
variable "dest_dir" {
description = "Destination directory on the instance where provisioning files will be copied"
type = string
default = "~"
}
variable "deploy_location" {
description = "Location name for deployed product instances."
type = string
default = "location1"
}
variable "deploy_products" {
description = "List of products to deploy. See Product List below for details."
type = list(map(string))
default = []
}
variable "entitlements" {
description = "Install hosted entitlements from organization's AION platform. See Entitlement List below for details."
type = list(map(string))
default = []
}