I’ve completed the steps in Lab 1 but my DAG is not being recognized in Airflow.
First attempt:
Try aws s3 sync src s3://<DAGS-BUCKET>/dags
command which ran successfully and I could see it in my DAG S3 bucket. However, the DAG does not show up in Airflow despite I waited for more than 15min.
Second attempt:
Ran the restart_airflow.sh script successfully and waited another 15min. Unfortunately, it still dis not show up in Airflow.
Third attempt:
Browse the community and found out similar issue was being raised previously. Refer to the link: C2W4_Lab1 DAG Not Being Recognized. I did what the proposed solution where check through all the code (no differences found) and even copy and paste from the solution (replace the DAG_BUCKET_NAME with the DAG s3 name). Synced and waited for another 15mins and it still fail to show up in Airflow.
Please help me out…