This repository has been archived by the owner on Oct 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 170
/
variables.tf
151 lines (123 loc) · 3.73 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
variable "aws_access_key" {
description = "Access key used to create instances"
}
variable "aws_secret_key" {
description = "Secret key used to create instances"
}
variable "aws_region" {
description = "Region where instances get created"
}
variable "aws_vpc_id" {
description = "The VPC ID where the instances should reside"
}
variable "aws_subnet_id" {
description = "The subnet-id to be used for the instance"
}
variable "aws_ssh_key_name" {
description = "The SSH key to be used for the instances"
}
variable "enable_govcloud" {
description = "Allows deployment into AWS GovCloud"
default = "false"
}
variable "circle_secret_passphrase" {
description = "Decryption key for secrets used by CircleCI machines"
}
variable "services_ami" {
description = "Override AMI lookup with provided AMI ID"
default = ""
}
variable "services_instance_type" {
description = "instance type for the centralized services box. We recommend a m4.2xlarge instance, with 32G of RAM"
default = "m5.2xlarge"
}
variable "builder_instance_type" {
description = "instance type for the builder machines. We recommend a r3 instance"
default = "r5.2xlarge"
}
variable "max_builders_count" {
description = "max number of 1.0 builders"
default = "2"
}
variable "desired_builders_count" {
description = "desired number of 1.0 builders"
default = "1"
}
variable "enable_nomad" {
description = "enable running 2.0 builds"
default = 1
}
variable "nomad_client_instance_type" {
description = "instance type for the nomad clients. It must be a valid aws instance type."
default = "m5.2xlarge"
}
variable "prefix" {
description = "prefix for resource names"
default = "circleci"
}
variable "services_disable_api_termination" {
description = "Enable or disable service box termination prevention"
default = "true"
}
variable "services_delete_on_termination" {
description = "Configures AWS to delete the ELB volume for the Services box upon instance termination."
default = "false"
}
variable "force_destroy_s3_bucket" {
description = "Enable or disable ability to destroy non-empty S3 buckets"
default = "false"
}
variable "enable_route" {
description = "enable creating a Route53 route for the Services box"
default = 0
}
variable "route_name" {
description = "Route name to configure for Services box"
default = ""
}
variable "route_zone_id" {
description = "Zone to configure route in"
default = ""
}
variable "http_proxy" {
default = ""
}
variable "https_proxy" {
default = ""
}
variable "no_proxy" {
default = ""
}
variable "services_user_data_enabled" {
description = "Disable User Data for Services Box"
default = "true"
}
variable "legacy_builder_spot_price" {
default = ""
}
variable "ubuntu_ami" {
default = {
ap-east-1 = "ami-736d1602"
ap-northeast-1 = "ami-096c57cee908da809"
ap-northeast-2 = "ami-0a25005e83c56767a"
ap-northeast-3 = "ami-04c5893bcd93bc072"
ap-southeast-1 = "ami-04613ff1fdcd2eab1"
ap-southeast-2 = "ami-000c2343cf03d7fd7"
ap-south-1 = "ami-03dcedc81ea3e7e27"
ca-central-1 = "ami-0eb3e12d3927c36ef"
cn-north-1 = "ami-05bf8d3ead843c270"
cn-northwest-1 = "ami-09081e8e3d61f4b9e"
eu-central-1 = "ami-0085d4f8878cddc81"
eu-north-1 = "ami-4bd45f35"
eu-west-1 = "ami-03746875d916becc0"
eu-west-2 = "ami-0cbe2951c7cd54704"
eu-west-3 = "ami-080d4d4c37b0aa206"
sa-east-1 = "ami-09beb384ba644b754"
us-east-1 = "ami-0cfee17793b08a293"
us-east-2 = "ami-0f93b5fd8f220e428"
us-gov-east-1 = "ami-0933d278"
us-gov-west-1 = "ami-1580c474"
us-west-1 = "ami-09eb5e8a83c7aa890"
us-west-2 = "ami-0b37e9efc396e4c38"
}
}