From b73375ea523b2aaa31f4316e41770f83571b05d2 Mon Sep 17 00:00:00 2001 From: Ash Davies <3853061+DrizzlyOwl@users.noreply.github.com> Date: Mon, 23 Sep 2024 10:03:43 +0100 Subject: [PATCH] Added missing vars --- ecs-cluster-infrastructure-logspout-service.tf | 3 ++- ecs-cluster-infrastructure-service-scheduled-task.tf | 3 ++- rds-infrastructure-s3-backups-task-definition.tf | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ecs-cluster-infrastructure-logspout-service.tf b/ecs-cluster-infrastructure-logspout-service.tf index dafbb9e..2748ded 100644 --- a/ecs-cluster-infrastructure-logspout-service.tf +++ b/ecs-cluster-infrastructure-logspout-service.tf @@ -27,7 +27,8 @@ resource "aws_ecs_task_definition" "infrastructure_ecs_cluster_logspout" { cloudwatch_log_group = "" awslogs_stream_prefix = "" region = local.aws_region - sidecar_container_name = false + enable_sidecar_container = false + sidecar_container_name = "" sidecar_image = "" sidecar_environment = "[]" sidecar_entrypoint = "[]" diff --git a/ecs-cluster-infrastructure-service-scheduled-task.tf b/ecs-cluster-infrastructure-service-scheduled-task.tf index 23b8134..394bb99 100644 --- a/ecs-cluster-infrastructure-service-scheduled-task.tf +++ b/ecs-cluster-infrastructure-service-scheduled-task.tf @@ -46,7 +46,8 @@ resource "aws_ecs_task_definition" "infrastructure_ecs_cluster_service_scheduled cloudwatch_log_group = !local.infrastructure_ecs_cluster_logspout_enabled ? each.value["enable_cloudwatch_logs"] == true ? aws_cloudwatch_log_group.infrastructure_ecs_cluster_service[each.value["container_name"]].name : "" : "" awslogs_stream_prefix = "" region = local.aws_region - sidecar_container_name = false + enable_sidecar_container = false + sidecar_container_name = "" sidecar_image = "" sidecar_environment = "[]" sidecar_entrypoint = "[]" diff --git a/rds-infrastructure-s3-backups-task-definition.tf b/rds-infrastructure-s3-backups-task-definition.tf index e8600a9..be50620 100644 --- a/rds-infrastructure-s3-backups-task-definition.tf +++ b/rds-infrastructure-s3-backups-task-definition.tf @@ -174,7 +174,8 @@ resource "aws_ecs_task_definition" "infrastructure_rds_s3_backups_scheduled_task cloudwatch_log_group = aws_cloudwatch_log_group.infrastructure_rds_s3_backups[each.key].name awslogs_stream_prefix = "${local.resource_prefix}-rds-s3-backups-${each.key}" region = local.aws_region - sidecar_container_name = false + enable_sidecar_container = false + sidecar_container_name = "" sidecar_image = "" sidecar_environment = "[]" sidecar_entrypoint = "[]"