Skip to content

Commit 2423205

Browse files
committed
Minor port fix
1 parent c34eda1 commit 2423205

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

operations/deployment/terraform/modules/aws/ecs/aws_ecs_networking.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
locals {
2-
aws_ecs_container_port = var.aws_ecs_container_port != "" ? [for n in split(",", var.aws_ecs_container_port) : tonumber(n)] : [for _ in range(length(local.aws_ecs_app_image)) : 80]
3-
#aws_ecs_container_port = [for n in split(",", var.aws_ecs_container_port) : tonumber(n)]
2+
#aws_ecs_container_port = var.aws_ecs_container_port != "" ? [for n in split(",", var.aws_ecs_container_port) : tonumber(n)] : [for _ in range(length(local.aws_ecs_app_image)) : 80]
3+
aws_ecs_container_port = var.aws_ecs_container_port != "" ? [for n in split(",", var.aws_ecs_container_port) : tonumber(n)] : []
44
aws_ecs_sg_container_port = distinct(local.aws_ecs_container_port)
55
aws_ecs_lb_port = var.aws_ecs_lb_port != "" ? [for n in split(",", var.aws_ecs_lb_port) : tonumber(n)] : local.aws_ecs_container_port
66
aws_ecs_sg_lb_port = distinct(local.aws_ecs_lb_port)

0 commit comments

Comments
 (0)