-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
44 lines (37 loc) · 985 Bytes
/
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
# Zugriffs Informationen
#
# Als Umgebungsvariablen TF_VAR_<name> ablegen
# TF_VAR_url=https://10.6.37.8:5240/MAAS
variable "url" {
description = "Evtl. URL fuer den Zugriff auf das API des Racks Servers"
type = string
default = "unknown"
}
# Umgebungsvariable TF_VAR_key ablegen
variable "key" {
description = "API Key, Token etc. fuer Zugriff"
type = string
sensitive = true
default = "unknown"
}
variable "vpn" {
description = "Optional VPN welches eingerichtet werden soll"
type = string
default = "unknown"
}
variable "host_no" {
description = "Host-No fuer die erste Host-IP Nummer"
type = number
default = 10
}
# Optionen damit Worker erstellt werden
variable "create_worker_01" {
description = "Flag to create worker-01 module"
type = bool
default = true
}
variable "create_worker_02" {
description = "Flag to create worker-02 module"
type = bool
default = true
}