-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathvariables.tf
209 lines (179 loc) · 3.42 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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
variable "gcp_project_id" {
description = "The project to deploy the cluster in"
type = string
}
variable "gcp_region" {
type = string
}
variable "gcp_zone" {
description = "All GCP resources will be launched in this Zone."
type = string
}
variable "server_cluster_size" {
type = number
}
variable "server_machine_type" {
type = string
}
variable "client_cluster_size" {
type = number
}
variable "client_machine_type" {
type = string
}
variable "api_cluster_size" {
type = number
}
variable "api_machine_type" {
type = string
}
variable "client_proxy_health_port" {
type = object({
name = string
port = number
path = string
})
default = {
name = "health"
port = 3001
path = "/health"
}
}
variable "client_proxy_port" {
type = object({
name = string
port = number
})
default = {
name = "session"
port = 3002
}
}
variable "session_proxy_service_name" {
type = string
default = "session-proxy"
}
variable "session_proxy_port" {
type = object({
name = string
port = number
})
default = {
name = "session"
port = 3003
}
}
variable "logs_proxy_port" {
type = object({
name = string
port = number
})
default = {
name = "logs"
port = 30006
}
}
variable "logs_health_proxy_port" {
type = object({
name = string
port = number
health_path = string
})
default = {
name = "logs-health"
port = 44313
health_path = "/health"
}
}
variable "api_port" {
type = object({
name = string
port = number
health_path = string
})
default = {
name = "api"
port = 50001
health_path = "/health"
}
}
variable "docker_reverse_proxy_port" {
type = object({
name = string
port = number
health_path = string
})
default = {
name = "docker-reverse-proxy"
port = 5000
health_path = "/health"
}
}
variable "nomad_port" {
type = number
default = 4646
}
variable "orchestrator_port" {
type = number
default = 5008
}
variable "template_manager_port" {
type = number
default = 5009
}
variable "environment" {
type = string
default = "prod"
}
variable "otel_tracing_print" {
description = "Whether to print OTEL traces to stdout"
type = bool
default = false
}
variable "github_organization" {
type = string
default = "e2b-dev"
}
variable "github_repository" {
type = string
default = "infra"
}
variable "domain_name" {
type = string
description = "The domain name where e2b will run"
}
variable "prefix" {
type = string
description = "The prefix to use for all resources in this module"
default = "e2b-"
}
variable "labels" {
description = "The labels to attach to resources created by this module"
type = map(string)
default = {
"app" = "e2b"
"terraform" = "true"
}
}
variable "terraform_state_bucket" {
description = "The name of the bucket to store terraform state in"
type = string
}
variable "loki_service_port" {
type = object({
name = string
port = number
})
default = {
name = "loki"
port = 3100
}
}
variable "template_bucket_location" {
type = string
description = "The location of the FC template bucket"
}
variable "template_bucket_name" {
type = string
description = "The name of the FC template bucket"
}