I have a DAG that uses Environment variables. the Environment variables are set in /etc/default/airflow-scheduler
export MY_KEY=1234
but when I echo MY_KEY in the DAG it doesn't print anything.
I checked the airflow scheduler variables and verified that MY_KEY existed. the command I used for verifying that was:
cat /proc/process_id_of_airflow_scheduler/environ
anyone can advise me on how to solve this problem? Thanks