From a904202a27ecd6198b491943412413294fc431ed Mon Sep 17 00:00:00 2001 From: matttrach Date: Wed, 24 Jul 2024 20:40:44 -0500 Subject: [PATCH] fix: health check protocol must be capitalized Signed-off-by: matttrach --- modules/network_load_balancer/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/network_load_balancer/main.tf b/modules/network_load_balancer/main.tf index 96c500c..c7b2327 100644 --- a/modules/network_load_balancer/main.tf +++ b/modules/network_load_balancer/main.tf @@ -96,7 +96,7 @@ resource "aws_lb_target_group" "created" { health_check { enabled = true port = each.value.port - protocol = each.value.protocol + protocol = upper(each.value.protocol) } }