C2W4 assignment aws s3 sync errpr

Nothing appears on the Airflow UI after I run the following in cmd: aws s3 sync src/dags s3://de-c2w4a1-077659555592-us-east-1-raw-data/dags
no python file in the bucket

Hello @Tan_Quoc_Bao_Nguyen,

I think you try to upload on the raw data bucket, could you run with the dags bucket instead, thank you:

aws s3 sync src/dags s3://de-c2w4a1-077659555592-us-east-1-dags/dags

Should I change the variable on the airflow too? since it’s raw bucket too

Hello @Tan_Quoc_Bao_Nguyen,

The variable bucket_name in the airflow should be raw data bucket instead of dags bucket, you can change that. thank you

Use: de-c2w4a1-077659555592-us-east-1-raw-data

I uploaded to the other bucket, but there still isn’t anything appearing on the airflow?

Hello @Tan_Quoc_Bao_Nguyen,

You used /dag/ instead of /dags/
aws s3 sync src/dags s3://de-c2w4a1-077659555592-us-east-1-dags/dag
Correct is with s in the end:
aws s3 sync src/dags s3://de-c2w4a1-077659555592-us-east-1-dags/dags

Thank you

1 Like

Thanks a lot, no more error!

1 Like