Skip to content

Commit

Permalink
Merge pull request #316 from chkp-nimrodgab/ng-dev
Browse files Browse the repository at this point in the history
AWS TF | changed health check details for NLB to TCP 8117
  • Loading branch information
chkp-romanka authored Oct 26, 2023
2 parents 654f1bb + 35addba commit 758f650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/aws/modules/common/load_balancer/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ resource "aws_lb_target_group" "lb_target_group" {
protocol = var.load_balancer_protocol
port = var.target_group_port
health_check {
port = var.load_balancers_type != "gateway" ? null : 8117
protocol = var.load_balancers_type != "gateway" ? null : "TCP"
port = var.load_balancers_type != "gateway" && var.load_balancers_type != "Network Load Balancer" ? null : 8117
protocol = var.load_balancers_type != "gateway" && var.load_balancers_type != "Network Load Balancer" ? null : "TCP"
}
}
resource "aws_lb_listener" "lb_listener" {
Expand Down

0 comments on commit 758f650

Please sign in to comment.