File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
operations/deployment/terraform/modules/aws/lb Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -329,8 +329,8 @@ POLICY
329329locals {
330330 alb_ssl_available = var. aws_certificates_selected_arn != " " ? true : false
331331
332- alb_listen_port = var. aws_alb_listen_port != " " ? [for n in split (" ," , var. aws_alb_listen_port ) : tonumber (n)] : (local . alb_ssl_available ? [443 ] : [80 ])
333- alb_listen_protocol = var. aws_alb_listen_protocol != " " ? [for n in split (" ," , var. aws_alb_listen_protocol ) : n ] : (local . alb_ssl_available ? [" HTTPS" ] : [" HTTP" ])
332+ alb_listen_port = var. aws_alb_listen_port != " " ? [for n in split (" ," , var. aws_alb_listen_port ) : tonumber (n)] : (var . aws_certificates_selected_arn != " " ? [443 ] : [80 ])
333+ alb_listen_protocol = var. aws_alb_listen_protocol != " " ? [for n in split (" ," , var. aws_alb_listen_protocol ) : n ] : (var . aws_certificates_selected_arn != " " ? [" HTTPS" ] : [" HTTP" ])
334334 alb_app_port = var. aws_alb_app_port != " " ? [for n in split (" ," , var. aws_alb_app_port ) : tonumber (n)] : local. alb_listen_port
335335 alb_app_protocol = var. aws_alb_app_protocol != " " ? [for n in split (" ," , var. aws_alb_app_protocol ) : n ] : [for _ in local . alb_app_port : " HTTP" ]
336336
You can’t perform that action at this time.
0 commit comments