-
Notifications
You must be signed in to change notification settings - Fork 24
/
variables.tf
233 lines (219 loc) · 3.77 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
variable "aws_region" {
description = "AWS region to create the environment"
}
variable "aws_access_key" {
description = "AWS access key for account"
}
variable "aws_secret_key" {
description = "AWS secret for account"
}
variable "instance_type" {
default = "t2.micro"
}
variable "namespace" {
description = <<EOH
The namespace to create the virtual training lab. This should describe the
training and must be unique to all current trainings. IAM users, workstations,
and resources will be scoped under this namespace.
It is best if you add this to your .tfvars file so you do not need to type
it manually with each run
EOH
}
variable "servers" {
description = "The number of consul servers."
}
variable "clients" {
description = "The number of consul client instances"
}
variable "consul_version" {
description = "The version of Consul to install (server and client)."
default = "0.7.5"
}
variable "vpc_cidr_block" {
description = "The top-level CIDR block for the VPC."
default = "10.1.0.0/16"
}
variable "cidr_blocks" {
description = "The CIDR blocks to create the workstations in."
default = ["10.1.1.0/24", "10.1.2.0/24"]
}
variable "consul_join_tag_key" {
description = "The key of the tag to auto-jon on EC2."
default = "consul_join"
}
variable "consul_join_tag_value" {
description = "The value of the tag to auto-join on EC2."
default = "training"
}
variable "public_key_path" {
description = "The absolute path on disk to the SSH public key."
default = "~/.ssh/id_rsa.pub"
}
variable "animals" {
default = [
"anaconda",
"ant",
"ape",
"badger",
"bass",
"bat",
"bear",
"bee",
"beetle",
"bird",
"bison",
"buffalo",
"bulldog",
"butterfly",
"camel",
"cat",
"catfish",
"cheetah",
"chicken",
"chipmunk",
"cobra",
"cod",
"coyote",
"crab",
"cricket",
"crow",
"deer",
"dinosaur",
"dog",
"dolphin",
"donkey",
"dove",
"dragonfly",
"duck",
"eagle",
"elephant",
"elk",
"falcon",
"fish",
"flamingo",
"fly",
"fowl",
"fox",
"frog",
"goat",
"goldfish",
"gopher",
"gorilla",
"grasshopper",
"greyhound",
"haddock",
"halibut",
"hamster",
"hawk",
"hedgehog",
"heron",
"herring",
"hornet",
"horse",
"hound",
"human",
"husky",
"jaguar",
"jellyfish",
"kangaroo",
"koala",
"ladybug",
"leopard",
"lion",
"lizard",
"llama",
"lobster",
"lynx",
"mackerel",
"mammal",
"marlin",
"mockingbird",
"mole",
"monkey",
"moose",
"mosquito",
"moth",
"mouse",
"mule",
"mussel",
"octopus",
"orca",
"ostrich",
"otter",
"owl",
"ox",
"oyster",
"panda",
"panther",
"parrot",
"peacock",
"peafowl",
"pelican",
"penguin",
"pig",
"pigeon",
"pike",
"pony",
"poodle",
"porcupine",
"possum",
"prawn",
"primate",
"puffin",
"puma",
"python",
"rabbit",
"raccoon",
"rat",
"raven",
"rooster",
"salamander",
"salmon",
"scallop",
"scorpion",
"seahorse",
"shark",
"sheep",
"shrimp",
"silkworm",
"skunk",
"sloth",
"slug",
"snail",
"snake",
"sparrow",
"spider",
"squid",
"squirrel",
"starfish",
"stingray",
"stork",
"swallow",
"swan",
"swordfish",
"tapeworm",
"termite",
"tern",
"terrier",
"tiger",
"toad",
"toucan",
"trout",
"tuna",
"turkey",
"turtle",
"viper",
"vulture",
"wallaby",
"walrus",
"wasp",
"weasel",
"whale",
"wildcat",
"wolf",
"wombat",
"worm",
"yak",
"zebra",
]
}