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 <ludomagno@google.com>
This commit is contained in:
committed by
GitHub
parent
041cc4dd98
commit
ddfc88ffed
@@ -24,7 +24,7 @@ locals {
|
|||||||
]
|
]
|
||||||
])
|
])
|
||||||
fwd_rule_ports = (
|
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 = (
|
fwd_rule_target = (
|
||||||
var.protocol == "HTTPS"
|
var.protocol == "HTTPS"
|
||||||
|
|||||||
Reference in New Issue
Block a user