[implementation] define project-wide vars in vars.yml, outside of dbt_project.yml #11144
Labels
help_wanted
Trickier changes, with a clear starting point, good for previous/experienced contributors
paper_cut
A small change that impacts lots of users in their day-to-day
user docs
[docs.getdbt.com] Needs better documentation
yaml
Short description
From #2955
"I want to define project-wide variables outside of my dbt_project.yml."
"I want to be able to reference variables in my dbt_project.yml at parse-time."
Acceptance criteria
vars.yml
file, separate from mydbt_project.yml
vars.yml
before parsingdbt_project.yml
, meaning default values of vars called indbt_project.yml
would work the way folks expect, rather than how it is today (equivalent to how this works when defining vars through the CLI a la--vars
)Option 1 - behavior change
dbt_project.yml
, would this even be possible?Option 2 - backwards compatible
Current workaround: Have a really massive
dbt_project.yml
file with no ability to reference variables in your project configurationsThe text was updated successfully, but these errors were encountered: