dbt doesn't currently support var declarations outside of the dbt_project.yml
file - see relevant issue. This means that multiple users that use vars may run into conflicts or issues as they are all updating the dbt_project.yml
file at the same time.
This is a temporary workaround while the core team works on enabling the above functionality.
- Setup the
dbt_project.yml
file:
# dbt_project.yml