-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
184 lines (152 loc) · 4.21 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
variable "region" {
type = string
description = "AWS Region for deployment"
}
variable "ingress_cidr_blocks_https" {
type = list(string)
description = "List of CIDR blocks allowed to access Concourse over HTTPS"
default = ["0.0.0.0/0"]
}
variable "certificate_arn" {
type = string
description = "ARN of the ALB (HTTPS) certificate"
}
variable "external_url_https" {
type = string
description = "Concourse external URL (fully qualified, e.g. `https://concourse.prod.acme.co`)"
}
variable "vpc_id" {
type = string
description = "VPC ID for deployment"
}
variable "public_subnet_ids" {
type = list(string)
description = "List of public VPC subnet IDs"
}
variable "private_subnet_ids" {
type = list(string)
description = "List of private VPC subnet IDs"
}
variable "db_security_group_id" {
type = string
description = "Database security group ID"
}
variable "db_hostname" {
description = "PostgreSQL server hostname or IP"
type = string
}
variable "db_port" {
type = string
description = "Port of the PostgreSQL server"
default = "5432"
}
variable "db_name" {
type = string
description = "Default PostgreSQL database"
default = "postgres"
}
variable "db_version" {
type = string
description = "PostgreSQL engine version used in the Concourse database server"
}
variable "db_admin_username" {
type = string
description = "Admin user of the PostgreSQL database server"
}
variable "db_admin_password" {
type = string
description = "Admin password of the PostgreSQL database server"
}
variable "concourse_db_name" {
type = string
description = "Concourse PostgreSQL database name"
default = "concourse"
}
variable "concourse_db_username" {
type = string
description = "Username for the Concourse database"
default = "concourse"
}
variable "concourse_db_password" {
type = string
description = "Password for the Concourse database user"
default = ""
}
variable "container_cpu" {
type = number
description = "The vCPU setting to control cpu limits of container"
default = 256
}
variable "container_memory" {
type = number
description = "The amount of RAM to allow container to use in MB"
default = 512
}
variable "container_memory_reservation" {
type = number
description = "The amount of RAM (Soft Limit) to allow container to use in MB. This value must be less than `container_memory` if set"
default = 128
}
variable "task_cpu" {
type = number
description = "The number of CPU units used by the task"
default = null
}
variable "task_memory" {
type = number
description = "The amount of memory (in MiB) used by the task"
default = null
}
variable "concourse_github_auth_client_id" {
type = string
description = "Github client id"
default = null
}
variable "concourse_github_auth_client_secret" {
type = string
description = "Github client secret"
default = null
}
variable "concourse_main_team_github_org" {
type = string
description = "Github team that can login"
default = null
}
variable "concourse_main_team_github_team" {
type = string
description = "Github team that can login"
default = null
}
variable "concourse_docker_image" {
type = string
description = "Concourse docker image"
default = "concourse/concourse"
}
variable "concourse_version" {
type = string
description = "Concourse version to use"
default = "5.8.0"
}
variable "keys_bucket_id" {
type = string
description = "ID of the bucket holding the keys"
}
variable "keys_bucket_arn" {
type = string
description = "ARN of the bucket holding the keys"
}
variable "chamber_kms_key_arn" {
type = string
description = "ARN of the chamber KMS key"
default = ""
}
variable "autoscaling_enabled" {
type = bool
description = "A boolean to enable/disable Autoscaling policy for ECS Service"
default = false
}
variable "autoscaling_dimension" {
type = string
description = "Dimension to autoscale on (valid options: cpu, memory)"
default = "cpu"
}