-
-
Notifications
You must be signed in to change notification settings - Fork 111
/
variables.tf
238 lines (184 loc) · 3.72 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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
/* general */
variable "node_count" {
default = 3
}
/* etcd_node_count must be <= node_count; odd numbers provide quorum */
variable "etcd_node_count" {
default = 3
}
variable "domain" {
default = "example.com"
}
variable "hostname_format" {
default = "kube%d"
}
/* hcloud */
variable "hcloud_token" {
default = ""
}
variable "hcloud_ssh_keys" {
type = list(string)
default = [""]
}
variable "hcloud_location" {
default = "nbg1"
}
variable "hcloud_type" {
default = "cx11"
}
variable "hcloud_image" {
default = "ubuntu-24.04"
}
/* scaleway */
variable "scaleway_organization_id" {
default = ""
}
variable "scaleway_access_key" {
default = "SCWXXXXXXXXXXXXXXXXX" // enables to specify only the secret_key
}
variable "scaleway_secret_key" {
default = ""
}
variable "scaleway_zone" {
default = "nl-ams-1"
}
variable "scaleway_type" {
default = "DEV1-S"
}
variable "scaleway_image" {
default = "Ubuntu 24.04 Noble Numbat"
}
variable "scaleway_image_architecture" {
default = "x86_64"
}
/* digitalocean */
variable "digitalocean_token" {
default = ""
}
variable "digitalocean_ssh_keys" {
type = list(string)
default = [""]
}
variable "digitalocean_region" {
default = "fra1"
}
variable "digitalocean_size" {
default = "s-1vcpu-1gb"
}
variable "digitalocean_image" {
default = "ubuntu-24-04-x64"
}
/* packet */
variable "packet_auth_token" {
default = ""
}
variable "packet_project_id" {
default = ""
}
variable "packet_plan" {
default = "c1.small.x86"
}
variable "packet_facility" {
default = "sjc1"
}
variable "packet_operating_system" {
default = "ubuntu_24_04"
}
variable "packet_billing_cycle" {
default = "hourly"
}
variable "packet_user_data" {
default = ""
}
/* aws dns */
variable "aws_access_key" {
default = ""
}
variable "aws_secret_key" {
default = ""
}
variable "aws_region" {
default = "eu-west-1"
}
/* cloudflare dns */
variable "cloudflare_api_token" {
default = ""
}
/* google dns */
variable "google_project" {
default = ""
}
variable "google_region" {
default = ""
}
variable "google_managed_zone" {
default = ""
}
variable "google_credentials_file" {
default = ""
}
/* vsphere */
variable "vsphere_server" {
description = "vsphere server for the environment - EXAMPLE: vcenter01.hosted.local or IP address"
default = ""
}
variable "vsphere_datacenter" {
description = "vSphere Datacenter Name"
default = "Datacenter1"
}
variable "vsphere_cluster" {
description = "vSphere Cluster Name"
default = "Cluster1"
}
variable "vsphere_network" {
description = "vSphere Network Name"
default = "VM Network"
}
variable "vsphere_datastore" {
description = "vSphere Datastore Name"
default = "datastore1"
}
variable "vsphere_vm_template" {
description = "vSphere VM Template Name"
default = "tpl-ubuntu-2004"
}
variable "vsphere_vm_linked_clone" {
description = "create vsphere linked clone VM"
default = false
}
variable "vsphere_vm_num_cpus" {
description = "Number of CPUs for the VM"
default = "2"
}
variable "vsphere_vm_memory" {
description = "Amount of memory for the VM"
default = "2048"
}
variable "vsphere_user" {
description = "vSphere Admin Username"
default = "[email protected]"
}
variable "vsphere_password" {
description = "vSphere Admin Password"
default = "YourSecretPassword"
}
/* upcloud */
variable "upcloud_zone" {
default = "de-fra1"
}
variable "upcloud_plan" {
default = "1xCPU-2GB"
}
variable "upcloud_disk_template" {
default = "Ubuntu Server 24.04 LTS (Noble Numbat)"
}
variable "upcloud_ssh_keys" {
type = list(string)
default = [""]
}
variable "upcloud_username" {
default = ""
}
variable "upcloud_password" {
default = ""
}