-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathvariables.tf
181 lines (141 loc) · 3.13 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
variable "prefix" {
description = "Prefix for every resource created by this template"
default = "concourse-"
}
variable "aws_region" {
description = "The AWS region to create things in."
default = "us-east-1"
}
# ubuntu-trusty-14.04 (x64)
variable "aws_amis" {
default = {
"us-east-1" = "ami-5f709f34"
"us-west-2" = "ami-7f675e4f"
"ap-northeast-1" = "ami-a21529cc"
}
}
variable "ami" {
}
variable "availability_zones" {
default = "us-east-1b,us-east-1c,us-east-1d,us-east-1e"
description = "List of availability zones, use AWS CLI to find your "
}
variable "key_name" {
description = "Name of AWS key pair"
}
variable "web_instance_type" {
default = "t2.micro"
description = "AWS instance type for web"
}
variable "worker_instance_type" {
default = "t2.micro"
description = "AWS instance type for worker"
}
variable "asg_min" {
description = "Min numbers of servers in ASG"
default = "0"
}
variable "asg_max" {
description = "Max numbers of servers in ASG"
default = "2"
}
variable "web_asg_desired" {
description = "Desired numbers of web servers in ASG"
# Setting this gte 2 result in `fly execute --input foo=bar` to fail with errors like: "bad response uploading bits (404 Not Found)" or "gunzip: invalid magic"
default = "1"
}
variable "worker_asg_desired" {
description = "Desired numbers of servers in ASG"
default = "2"
}
variable "elb_listener_lb_port" {
description = ""
default = "80"
}
variable "use_custom_elb_port" {
default = 0
}
variable "elb_listener_lb_protocol" {
default = "http"
}
variable "elb_listener_instance_port" {
description = ""
default = "8080"
}
variable "in_access_allowed_cidrs" {
description = ""
}
variable "subnet_id" {
description = ""
}
variable "db_subnet_ids" {
description = ""
}
variable "vpc_id" {
description = ""
}
variable "db_username" {
description = ""
}
variable "db_password" {
description = ""
}
variable "db_instance_class" {
description = "t2.micro"
}
variable "db_engine_version" {
description = "engine version of rds engine ('postgres')"
}
variable "tsa_host_key" {
description = ""
}
variable "session_signing_key" {
description = ""
}
variable "tsa_authorized_keys" {
description = ""
}
variable "tsa_public_key" {
description = ""
}
variable "tsa_worker_private_key" {
description = ""
}
variable "tsa_port" {
description = ""
default = "2222"
}
variable "worker_instance_profile" {
description = "IAM instance profile name to be used by Concourse workers. Can be an empty string to not specify it (no instance profile is used then)"
}
variable "basic_auth_username" {
default = ""
}
variable "basic_auth_password" {
default = ""
}
variable "github_auth_client_id" {
default = ""
}
variable "github_auth_client_secret" {
default = ""
}
variable "github_auth_organizations" {
default = ""
}
variable "github_auth_teams" {
default = ""
}
variable "github_auth_users" {
default = ""
}
variable "custom_external_domain_name" {
default = ""
description ="don't include http[s]://"
}
variable "use_custom_external_domain_name" {
default = 0
}
variable "ssl_certificate_arn" {
default = ""
}