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.
2 parents 0a34b40 + e83562d commit 30f0112Copy full SHA for 30f0112
ecs_task_definitions.tf
@@ -1,7 +1,7 @@
1
2
resource "aws_ecs_task_definition" "service" {
3
family = var.service_name
4
- container_definitions = var.container_definitions != null ? var.container_definitions : "[${module.service_container_definition.json_map_encoded}]"
+ container_definitions = var.container_definitions != null ? var.container_definitions : "[${module.service_container_definition[0].json_map_encoded}]"
5
execution_role_arn = aws_iam_role.ecs_task_execution_role.arn
6
task_role_arn = aws_iam_role.ecs_task_role.arn
7
network_mode = "awsvpc"
0 commit comments