diff --git a/README.md b/README.md index bede440..ff5ca44 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ The Airflow service runs under systemd, so logs are available through journalctl - [ ] Provide a way to pass a custom packages.txt files on provision step - [ ] RBAC - [ ] Flower -- [ ] Provide a way inject envinronment variables to airflow +- [ ] Provide a way inject environment variables to airflow - [ ] Auto Scalling for workers - [ ] Use SPOT instances for workers - [ ] Maybe use the [AWS Fargate](https://aws.amazon.com/pt/fargate/) to reduce costs diff --git a/files/airflow.environment b/files/airflow.environment index abd670b..0cb72b0 100644 --- a/files/airflow.environment +++ b/files/airflow.environment @@ -2,10 +2,9 @@ AWS_DEFAULT_REGION=${AWS_REGION} AIRFLOW_HOME=/etc/airflow AIRFLOW__CORE__EXECUTOR=CeleryExecutor -AIRFLOW__CORE__LOAD_EXAMPLES=True AIRFLOW__CORE__FERNET_KEY=${FERNET_KEY} AIRFLOW__CORE__LOAD_EXAMPLES=${LOAD_EXAMPLE_DAGS} -TURBINE__CORE__LOAD_DEFAULTS=${LOAD_DEFAULT_CONNS} +AIRFLOW__CORE__LOAD_DEFAULTS=${LOAD_DEFAULT_CONNS} AIRFLOW__CORE__SQL_ALCHEMY_CONN=postgresql://${DB_USERNAME}:${DB_PASSWORD}@${DB_ENDPOINT}/${DB_DBNAME} AIRFLOW__CORE__REMOTE_BASE_LOG_FOLDER=s3://${S3_BUCKET} AIRFLOW__CORE__REMOTE_LOGGING=True