This repository has been archived by the owner on Jun 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
85 lines (69 loc) · 1.84 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
variable "environment" {
}
variable "aws_default_region" {
default = "us-west-2"
}
variable "public_subnet_ids" {
type = map(string)
}
variable "private_subnet_ids" {
type = map(string)
}
variable "vpc_id" {
type = string
}
variable "account_role_arn" {
type = string
description = "The role ARN which terraform will assume to deploy resources"
}
variable "global_access_pub_key" {
description = "The public key used to access all Jenkins VM's by Ansible. Note that this key is intentionally different than the one used by Jenkins to authenticate to the executors"
}
variable "executor_access_pub_keys" {
description = "The public key used to access all Jenkins agents by developers."
}
variable "jenkins_pub_key" {
description = "The public key inserted on remoteFS' for the agents so that Jenkins can log in to them to execute jobs"
}
variable "head_node_instance_type" {
default = "c4.4xlarge"
}
variable "ebs_vol_size" {
default = "500"
}
variable "autoscaler_types" {
type = map(object({
image_family = string
agent_instance_type = string
labels = string
min_size = number
max_size = number
on_demand_percentage_above_base_capacity = number
on_demand_base_capacity = number
}))
default = {}
}
variable "domain_name" {
type = string
}
variable "subject_alternative_names" {
type = list(string)
default = []
}
variable "ecr_repositories" {
type = list(string)
default = []
}
variable "is_private" {
type = bool
default = false
}
variable "additional_agents" {
type = map(object({
labels = string
host = string
num_executors = number
remote_fs = string
}))
default = {}
}