[Regression] dbt is looking for a target with the name given by env var DBT_TARGET
in 1.8 - was not in 1.7
#10415
Closed
2 tasks done
Labels
Is this a regression in a recent version of dbt-core?
Current Behavior
If you have a setup like so:
And coincidentally an env var
DBT_TARGET
for whatever reason (assume they're using that env var all over the place in their projects - hundreds of macros, whatever - you name it, they have it - so much so that it is cumbersome to change the name of this env var in their project) ... dbt will attempt to look for that target in the profile.Expected/Previous Behavior
With 1.7, dbt didn't do this:
Steps To Reproduce
DBT_TARGET
to a value of which does not exist in your profile.Relevant log output
No response
Environment
Which database adapter are you using with dbt?
postgres
Additional Context
This is breaking users keep on latest runs in dbt Cloud:
The text was updated successfully, but these errors were encountered: