From e4307f6a1d4d8cb89fa984b13f3bd4ed855829fc Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Thu, 9 Jan 2025 14:28:29 +0000 Subject: [PATCH] add xarray to install requirments --- terraform/india/development/main.tf | 2 +- terraform/modules/services/airflow/docker-compose.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/terraform/india/development/main.tf b/terraform/india/development/main.tf index 329141e4..ea553c5e 100644 --- a/terraform/india/development/main.tf +++ b/terraform/india/development/main.tf @@ -451,7 +451,7 @@ module "airflow" { aws-vpc_id = module.network.vpc_id aws-subnet_id = module.network.public_subnet_ids[0] airflow-db-connection-url = "${module.postgres-rds.instance_connection_url}/airflow" - docker-compose-version = "0.0.8" + docker-compose-version = "0.0.9" ecs-subnet_id = module.network.public_subnet_ids[0] ecs-security_group = module.network.default_security_group_id aws-owner_id = module.network.owner_id diff --git a/terraform/modules/services/airflow/docker-compose.yml b/terraform/modules/services/airflow/docker-compose.yml index f86d4964..3278d5c0 100644 --- a/terraform/modules/services/airflow/docker-compose.yml +++ b/terraform/modules/services/airflow/docker-compose.yml @@ -41,6 +41,8 @@ services: ECS_SECURITY_GROUP: $ECS_SECURITY_GROUP _AIRFLOW_WWW_USER_PASSWORD: ${PASSWORD} AIRFLOW_CONN_SLACK_API_DEFAULT: ${AIRFLOW_CONN_SLACK_API_DEFAULT} + _PIP_ADDITIONAL_REQUIREMENTS: ${_PIP_ADDITIONAL_REQUIREMENTS:- xarray } + user: "${AIRFLOW_UID:-50000}:0" volumes: - data:/airflow