Skip to content

Commit 5ba4b9a

Browse files
committed
Fixing length
1 parent 91ac19c commit 5ba4b9a

File tree

1 file changed

+1
-1
lines changed
  • operations/deployment/terraform/modules/aws/ecs

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ resource "aws_ecs_task_definition" "ecs_task" {
4949
"cpu": local.aws_ecs_container_cpu[count.index],
5050
"memory": local.aws_ecs_container_mem[count.index],
5151
"essential": true,
52-
"portMappings": length(local.aws_ecs_container_port[count.index]) > 0 ? [
52+
"portMappings": length(local.aws_ecs_container_port) > 0 ? [
5353
{
5454
"containerPort": local.aws_ecs_container_port[count.index],
5555
"hostPort": local.aws_ecs_container_port[count.index],

0 commit comments

Comments
 (0)