Adding port number on ELB health check
This commit is contained in:
@@ -25,6 +25,7 @@ resource "aws_lb_target_group" "app_tg_8500" {
|
||||
healthy_threshold = 5
|
||||
unhealthy_threshold = 2
|
||||
matcher = "200"
|
||||
port = 8500
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,6 +42,7 @@ resource "aws_lb_target_group" "app_tg_8501" {
|
||||
healthy_threshold = 5
|
||||
unhealthy_threshold = 2
|
||||
matcher = "200"
|
||||
port = 8501
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,6 +59,7 @@ resource "aws_lb_target_group" "app_tg_8502" {
|
||||
healthy_threshold = 5
|
||||
unhealthy_threshold = 2
|
||||
matcher = "200"
|
||||
port = 8502
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,6 +76,7 @@ resource "aws_lb_target_group" "app_tg_8503" {
|
||||
healthy_threshold = 5
|
||||
unhealthy_threshold = 2
|
||||
matcher = "200"
|
||||
port = 8503
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user