-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
60 lines (48 loc) · 1.31 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
variable "name" {
description = "Used to name various infrastructure components"
}
variable "whitelist_ip" {
description = "IP to whitelist for the security groups (set 0.0.0.0/0 for world)"
}
variable "region" {
description = "The AWS region to deploy to."
default = "us-west-2"
}
variable "ami" {
}
variable "server_instance_type" {
description = "The AWS instance type to use for servers."
default = "t2.medium"
}
variable "client_instance_type" {
description = "The AWS instance type to use for clients."
default = "t2.medium"
}
variable "root_block_device_size" {
description = "The volume size of the root block device."
default = 16
}
variable "key_name" {
description = "Name of the SSH key used to provision EC2 instances."
}
variable "server_count" {
description = "The number of servers to provision."
default = "3"
}
variable "client_count" {
description = "The number of clients to provision."
default = "4"
}
variable "retry_join" {
description = "Used by Consul to automatically form a cluster."
type = map(string)
default = {
provider = "aws"
tag_key = "ConsulAutoJoin"
tag_value = "auto-join"
}
}
variable "nomad_binary" {
description = "Used to replace the machine image installed Nomad binary."
default = "none"
}