File tree Expand file tree Collapse file tree 1 file changed +17
-11
lines changed Expand file tree Collapse file tree 1 file changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -178,8 +178,9 @@ resource "aws_lb_target_group" "alb_main" {
178
178
protocol = " HTTP"
179
179
matcher = " 200,202"
180
180
timeout = 60
181
+ interval = 120
181
182
path = " /healthcheck"
182
- unhealthy_threshold = 5
183
+ unhealthy_threshold = 3
183
184
}
184
185
185
186
tags = var. standard_tags
@@ -200,8 +201,9 @@ resource "aws_lb_target_group" "alb_db_migrate" {
200
201
port = 8080
201
202
matcher = " 200,202"
202
203
timeout = 60
204
+ interval = 120
203
205
path = " /healthcheck"
204
- unhealthy_threshold = 5
206
+ unhealthy_threshold = 3
205
207
}
206
208
207
209
tags = var. standard_tags
@@ -248,10 +250,12 @@ resource "aws_lb_target_group" "apigw_metadata" {
248
250
vpc_id = var. metaflow_vpc_id
249
251
250
252
health_check {
251
- protocol = " HTTP"
252
- matcher = " 200,202"
253
- timeout = 10
254
- path = " /healthcheck"
253
+ protocol = " HTTP"
254
+ matcher = " 200,202"
255
+ timeout = 60
256
+ interval = 120
257
+ unhealthy_threshold = 3
258
+ path = " /healthcheck"
255
259
}
256
260
257
261
tags = var. standard_tags
@@ -270,11 +274,13 @@ resource "aws_lb_target_group" "apigw_db_migrate" {
270
274
vpc_id = var. metaflow_vpc_id
271
275
272
276
health_check {
273
- protocol = " HTTP"
274
- port = 80
275
- matcher = " 200,202"
276
- timeout = 10
277
- path = " /healthcheck"
277
+ protocol = " HTTP"
278
+ port = 80
279
+ matcher = " 200,202"
280
+ timeout = 60
281
+ interval = 120
282
+ unhealthy_threshold = 3
283
+ path = " /healthcheck"
278
284
}
279
285
280
286
tags = var. standard_tags
You can’t perform that action at this time.
0 commit comments