-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
205 lines (171 loc) · 4.58 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
202
203
204
205
variable "cluster_name" {
type = string
default = ""
description = "Please Type your name so that You and Cloud admin can identify your resources."
}
variable "mke_version" {
type = string
default = "3.6.4"
description = "The MKE version to be used in the output"
}
variable "msr_version" {
type = string
default = "2.9.9"
description = "The MSR version to be used in the output"
}
variable "mcr_version" {
type = string
default = "23.0.3"
description = "The MCR version to be used in the output"
}
variable "image_repo" {
type = string
default = "docker.io/mirantis"
description = "The image repository to be used in the output"
}
variable "dns_ip_list" {
type = list(string)
default = []
description = ""
}
variable "ssh_base_key_path" {
type = string
default = "./ssh_keys"
description = "The path to the folder of the ssh key"
}
variable "admin_username" {
type = string
default = "admin"
description = "The MKE username use in the output"
}
variable "admin_password" {
type = string
description = "The MKE password use in the output"
}
variable "external_network_name" {
type = string
default = "public"
description = "The external OpenStack network name"
}
variable "external_network_id" {
type = string
default = ""
description = "The external OpenStack network id"
}
variable "external_subnet_id" {
type = string
default = ""
description = "The external OpenStack subnet id"
}
variable "manager_count" {
type = number
default = 1
description = "The number of manager machines to be created"
}
variable "msr_count" {
type = number
default = 1
description = "The number of MSR machines to be created"
}
variable "worker_count" {
type = number
default = 3
description = "The number of Linux worker machines to be created"
}
variable "manager_image_name" {
type = string
default = "ubuntu_18.04"
description = "The AMI for the manager instances"
}
variable "worker_image_name" {
type = string
default = "ubuntu_18.04"
description = "The AMI for the worker instances"
}
variable "manager_instance_type" {
type = string
default = "kaas.prod"
description = "The instance type for the Manager nodes"
}
variable "worker_instance_type" {
type = string
default = "kaas.prod"
description = "The instance type for the Worker nodes"
}
variable "msr_instance_type" {
type = string
default = "kaas.prod"
description = "The instance type for the MSR nodes"
}
variable "manager_volume_size" {
type = number
default = 100
description = "The disk volume size for the manager nodes"
}
variable "worker_volume_size" {
type = number
default = 100
description = "The disk volume size for the worker nodes"
}
variable "amiUserName" {
type = string
default = "ubuntu"
description = "The dfault username for the AMI. Used as output"
}
variable "os_name" {
type = string
default = "ubuntu_18.04"
description = "The name of the OS you want to use(check available OS types in th your OpenStack instance)"
}
variable "openstack_user" {
type = string
default = "admin"
description = "The username for the OpenStack account to use"
}
variable "openstack_password" {
type = string
default = ""
description = "The OpenStack password of the user"
}
variable "openstack_tenant_id" {
type = string
default = ""
description = "The ID for the OpenStack tenant to use"
}
variable "openstack_tenant_name" {
type = string
default = ""
description = "The OpenStack tenant name"
}
variable "openstack_auth_url" {
type = string
default = ""
description = "The OpenStack authentication url"
}
variable "openstack_user_domain_name" {
type = string
default = ""
description = "The OpenStack domain name for the user"
}
variable "openstack_region" {
type = string
description = "This is where you have to mention region"
default = "RegionOne"
}
variable "win_worker_count" {
type = number
default = 0
}
variable "windows_administrator_password" {
type = string
default = ""
}
variable "win_worker_image_name" {
type = string
description = "The image name for the Windows worker instances"
}
variable "win_worker_instance_type" {
type = string
default = "kaas.prod"
description = "The instance type for the Windows Worker nodes"
}