1 個回答
- 最新
- 最多得票
- 最多評論
0
Hi!
Anything placed in the S3 folder containing your DAGs will be synced to /usr/local/airflow/dags on the MWAA worker. So, to run a file called "hello_world.py" you would use the bash command "python3 /usr/local/airflow/dags/hello_world.py"
Thanks!
已回答 3 年前
相關內容
- AWS 官方已更新 2 年前
I'm still getting the same error even after using bash command "python3 /usr/local/airflow/dags/hello_world.py"
Update: I got it clear, you just need to make sure you include subfolder names. Alternatively you can use the bash command "python3 ${AIRFLOW_HOME}/dags/folder1/folder2/../hello_world.py" Here, ${AIRFLOW_HOME} is /usr/local/airflow/