Skip to content

Commit

Permalink
Change the ECS envs to supported string
Browse files Browse the repository at this point in the history
  • Loading branch information
amarouane-ABDELHAK committed Jul 8, 2024
1 parent 0c23901 commit 9a7b856
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion infrastructure/ecs_services/airflow_metrics.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ resource "aws_ecs_task_definition" "airflow_metrics" {
[
{
name = "SERVICES_HASH"
value = local.services_hashes
value = join(",", local.services_hashes)
}

])
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/ecs_services/airflow_scheduler.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ resource "aws_ecs_task_definition" "airflow_scheduler" {
[
{
name = "SERVICES_HASH"
value = local.services_hashes
value = join(",", local.services_hashes)
}

])
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/ecs_services/airflow_server.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}

])
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/ecs_services/airflow_worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ resource "aws_ecs_task_definition" "airflow_worker" {
},
{
name = "WORKER_HASHES"
value = local.workers_hashes
value = join(",", local.workers_hashes)
}
]
)
Expand Down

0 comments on commit 9a7b856

Please sign in to comment.