We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91ac19c commit 5ba4b9aCopy full SHA for 5ba4b9a
operations/deployment/terraform/modules/aws/ecs/aws_ecs.tf
@@ -49,7 +49,7 @@ resource "aws_ecs_task_definition" "ecs_task" {
49
"cpu": local.aws_ecs_container_cpu[count.index],
50
"memory": local.aws_ecs_container_mem[count.index],
51
"essential": true,
52
- "portMappings": length(local.aws_ecs_container_port[count.index]) > 0 ? [
+ "portMappings": length(local.aws_ecs_container_port) > 0 ? [
53
{
54
"containerPort": local.aws_ecs_container_port[count.index],
55
"hostPort": local.aws_ecs_container_port[count.index],
0 commit comments