Skip to content

Commit 806e47c

Browse files
committed
Removing compact
1 parent 22cca64 commit 806e47c

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ resource "aws_ecs_task_definition" "ecs_task" {
3434
execution_role_arn = local.ecsTaskExecutionRole
3535

3636
container_definitions = sensitive(jsonencode(
37-
compact([ # compact removes null entries
37+
[
3838
{
3939
"name": var.aws_ecs_task_name != "" ? local.aws_ecs_task_name[count.index] : "${local.aws_ecs_task_name[count.index]}${count.index}",
4040
"image": local.aws_ecs_app_image[count.index],
@@ -82,7 +82,7 @@ resource "aws_ecs_task_definition" "ecs_task" {
8282
"type": "fluentbit"
8383
}
8484
} : null
85-
])
85+
]
8686
))
8787
}
8888

0 commit comments

Comments
 (0)