[CT-3411] [Regression] env_var file enforcement not correct for projects with subpackages that contain env_vars #9127
Labels
backport 1.7.latest
bug
Something isn't working
High Severity
bug with significant impact that should be resolved in a reasonable timeframe
regression
Is this a regression in a recent version of dbt-core?
Current Behavior
I have a project, that imports private repos in packages.yml, that in turn import more private repos. We manage this with an env_var. We now encounter this error:
Secret env vars are allowed only in profiles.yml or packages.yml. Found <REDACTED> referenced elsewhere.
Expected/Previous Behavior
Dependencies to install without issue.
Steps To Reproduce
dbt deps
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
snowflake, bigquery
Additional Context
No response
The text was updated successfully, but these errors were encountered: