pass parameter from airflow dag to dbt to create model

Hey,

Im triggering the Airflow Dag by writing the configurations in workflow.yaml file, I want to pass a variable/parameter from airflow dag and use it in dbt to create model, what is the best way to achieve this ? The variable that I pass is dynamic, so I do not want to make any changes in git/code files every time the value of the variable changes, I want to pass it as a part of DAG run. Could you please assist me on this. Thanks a lot

1 Like