Skip to content

Commit 2cc8387

Browse files
author
Steven Nemetz
committed
Require path length 1 or greater
1 parent 15fa442 commit 2cc8387

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

main.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ data "aws_acm_certificate" "this" {
5454
}
5555

5656
# TODO: need to separate into 2 resources to support logging, since network doesn't
57+
/*
58+
resource "aws_lb" "application" {
59+
count = "${module.enabled.value && var.type == "application" ? 1 : 0}"
60+
resource "aws_lb" "network" {
61+
count = "${module.enabled.value && var.type == "network" ? 1 : 0}"
62+
*/
5763
resource "aws_lb" "this" {
5864
count = "${module.enabled.value}"
5965
name = "${module.label.id_32}"
@@ -235,6 +241,7 @@ resource "aws_lb_target_group" "network" {
235241
health_check {
236242
interval = "${var.health_check_interval}"
237243
port = "${var.health_check_port}"
244+
path = "/"
238245
healthy_threshold = "${var.health_check_healthy_threshold}"
239246
unhealthy_threshold = "${var.health_check_unhealthy_threshold}"
240247
protocol = "${var.health_check_protocol}"

0 commit comments

Comments
 (0)