Adding port number on ELB health check

This commit is contained in:
Umang Mistry
2024-05-22 14:02:38 -05:00
parent bff044c2cd
commit aaf5c2c199
+4
View File
@@ -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
}
}