-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars.tf
64 lines (52 loc) · 1.21 KB
/
vars.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
# Softlayer credentials
variable softlayer_username {}
variable softlayer_api_key {}
# Number of workers to deploy
variable worker_count {
default = 1
}
# Softlayer label for SSH key to use for the manager
variable ssh_key_label {
default = "publickey"
}
# Local private SSH key file associated with the "ssh_key_label" above
variable ssh_private_key_file {
default = "~/.ssh/id_rsa"
}
# Softlayer datacenter to deploy the manager
variable datacenter {
default = "dal10"
}
# Swarm name; workers and managers have this prefix
variable name {
default = "D4B"
}
# Working directy on the manager
variable working_dir {
default = "/opt/ibm/d4b"
}
# Logging for terraform when spinning up the worker nodes. 1 is the least verbose, 5 is the most verbose
# The exact levels are: 5=TRACE, 4=DEBUG, 3=INFO, 2=WARN or 1=ERROR
variable logging_level {
default = 4
}
# Image used for deployment
variable infrakit_image {
default = ""
}
# Load Balancer IP address
variable lb_ip {
default = ""
}
# Load Balancer Vlan ID
variable lb_vlanid {
default = 0
}
# Load Balancer Private Vlan ID
variable lb_vlanid_private {
default = 0
}
# Number of Load Balancer workers
variable lb_count {
default = 0
}