-
Notifications
You must be signed in to change notification settings - Fork 7
/
worker_variables.tf
51 lines (41 loc) · 1.55 KB
/
worker_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
# Worker variables
variable "worker_desired_count" {
default = 2
description = "The number of worker boxes to run. Defaults to a pair."
}
variable "worker_min_count" {
default = 1
description = "The minimum number of web boxes to run. Defaults to one."
}
variable "worker_max_count" {
default = 2
description = "The maximum number of web boxes to run. Defaults to a pair."
}
variable "worker_private_subnets" {
type = list(string)
description = "The subnet IDs you'll be installing concourse worker boxes into. Again, we make no assumptions. This should be large enough to support your cluster."
}
variable "worker_instance_type" {
description = "The worker instance types. Pick something kinda big but not huge."
}
variable "worker_vol_size" {
default = 40
description = "We'll assign instance volumes of this size to your workers. Suggested retail size of 40GB."
}
variable "worker_key_path" {
description = "Path to an OpenSSH or RSA key the worker uses to secure communication with."
}
variable "tsa_public_key_path" {
description = "Path to an OpenSSH or RSA public key the worker uses to talk to the TSA with."
}
variable "worker_container_storage_driver" {
default = "overlay"
description = "Storage driver to use for the container runtime. Defaults to overlay."
}
variable "worker_patch_schedule" {
description = "The frequency to patch worker machines. Use AWS cron syntax."
}
variable "worker_dns_servers" {
default = ["8.8.8.8", "8.8.4.4"]
description = "Optional DNS servers. Defaults to google."
}