-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
79 lines (62 loc) · 1.74 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
variable "organization" {
description="You scaleway access token."
}
variable "token" {
description="You scaleway generated token."
}
variable "region" {
description="The region where to create your instances."
default="par1"
}
variable "type" {
description="The machine type to create the instances."
default="VC1S"
}
variable "arch" {
description="The machine type archtecture."
default="x86_64"
}
variable "name" {
description="The name of your docker swarm, used for identification and to separate different swarm. Also will be the name of the fold where to store the TLS keys and certificates."
default="MyService"
}
variable "tags" {
description="Tags to add to your instances."
default=[]
}
variable "manager_count" {
description="Number of managers to create."
default=1
}
variable "worker_count" {
description="Number of workers to create."
default=3
}
variable "additional_volume" {
description="If we should attach additional volume to instance"
default=true
}
variable "additional_volume_size" {
description="Size of an additional volume to attach to the instances."
default="50"
}
variable "security_group" {
description="Security group to add instances to."
default=""
}
variable "key_file" {
description="Key file to use to access and provision instances. NOT IMPLEMENTED"
default=""
}
variable "label" {
description="Label to add to each docker node."
default=""
}
variable "join_existing_swarm" {
description="Join an existing swarm cluster instead of initing a new one."
default=false
}
variable "existing_swarm_manager" {
description="If setup to join an existing swarm cluster instead of initing a new one, this points to the manager node of the existing swarm cluster."
default=""
}