diff --git a/infrastructure/ecs_services/airflow_metrics.tf b/infrastructure/ecs_services/airflow_metrics.tf index d86f586..ca04fff 100644 --- a/infrastructure/ecs_services/airflow_metrics.tf +++ b/infrastructure/ecs_services/airflow_metrics.tf @@ -62,7 +62,7 @@ resource "aws_ecs_task_definition" "airflow_metrics" { [ { name = "SERVICES_HASH" - value = local.services_hashes + value = join(",", local.services_hashes) } ]) diff --git a/infrastructure/ecs_services/airflow_scheduler.tf b/infrastructure/ecs_services/airflow_scheduler.tf index c689391..1538736 100644 --- a/infrastructure/ecs_services/airflow_scheduler.tf +++ b/infrastructure/ecs_services/airflow_scheduler.tf @@ -77,7 +77,7 @@ resource "aws_ecs_task_definition" "airflow_scheduler" { [ { name = "SERVICES_HASH" - value = local.services_hashes + value = join(",", local.services_hashes) } ]) diff --git a/infrastructure/ecs_services/airflow_server.tf b/infrastructure/ecs_services/airflow_server.tf index 884c9ed..71092c3 100644 --- a/infrastructure/ecs_services/airflow_server.tf +++ b/infrastructure/ecs_services/airflow_server.tf @@ -50,7 +50,7 @@ resource "aws_ecs_task_definition" "airflow_webserver" { [ { name = "SERVICES_HASH" - value = [local.config_folder_hash, local.services_build_path_hash] + value = "${local.config_folder_hash},${local.services_build_path_hash}" } ]) diff --git a/infrastructure/ecs_services/airflow_worker.tf b/infrastructure/ecs_services/airflow_worker.tf index e73e935..10462b5 100644 --- a/infrastructure/ecs_services/airflow_worker.tf +++ b/infrastructure/ecs_services/airflow_worker.tf @@ -41,7 +41,7 @@ resource "aws_ecs_task_definition" "airflow_worker" { }, { name = "WORKER_HASHES" - value = local.workers_hashes + value = join(",", local.workers_hashes) } ] )