Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS TF | changed health check details for NLB to TCP 8117 #316

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading