I am trying to integrate MWAA with Airflow-DBT and for some reason when using the DBT run operator, DBT initially looks for the DBT_Project.yml file in the initial dbt directory (/usr/local/airflow/dags/dbt/dbt_project.yml) as defined using the dir variable. However, it then proceeds to search all subdirectories for the dbt_projects.yml file and resulting in the following error:
[2022-02-13 15:42:52,016] {{dbt_hook.py:130}} INFO - Failed to read package: Runtime Error
[2022-02-13 15:42:52,016] {{dbt_hook.py:130}} INFO - no dbt_project.yml found at expected path /usr/local/airflow/dags/dbt/snapshots/dbt_project.yml
Any idea why airflow-dbt searches for dbt_project.yml in the snapshots folder after having found it in the parent folder?
Hello all!
I am trying to integrate MWAA with Airflow-DBT and for some reason when using the DBT run operator, DBT initially looks for the DBT_Project.yml file in the initial dbt directory (/usr/local/airflow/dags/dbt/dbt_project.yml) as defined using the dir variable. However, it then proceeds to search all subdirectories for the dbt_projects.yml file and resulting in the following error:
[2022-02-13 15:42:52,016] {{dbt_hook.py:130}} INFO - Failed to read package: Runtime Error [2022-02-13 15:42:52,016] {{dbt_hook.py:130}} INFO - no dbt_project.yml found at expected path /usr/local/airflow/dags/dbt/snapshots/dbt_project.yml
Any idea why airflow-dbt searches for dbt_project.yml in the snapshots folder after having found it in the parent folder?
Thank you for all your help!!