From ddfc88ffed580ba01aed85755ccdb246138f5c2a Mon Sep 17 00:00:00 2001 From: Alexey Stepanenko Date: Sat, 24 May 2025 09:31:17 +0300 Subject: [PATCH] Add option to specifi any port on https protocol (#3105) Net app lb int support any port at https protocol also. Co-authored-by: Ludovico Magnocavallo --- modules/net-lb-app-int/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/net-lb-app-int/main.tf b/modules/net-lb-app-int/main.tf index 6a3e10521..841181f59 100644 --- a/modules/net-lb-app-int/main.tf +++ b/modules/net-lb-app-int/main.tf @@ -24,7 +24,7 @@ locals { ] ]) fwd_rule_ports = ( - var.protocol == "HTTPS" ? [443] : coalesce(var.ports, [80]) + var.protocol == "HTTPS" ? coalesce(var.ports, [443]) : coalesce(var.ports, [80]) ) fwd_rule_target = ( var.protocol == "HTTPS"