-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Profiles yml precedence core fusion #8443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: current
Are you sure you want to change the base?
Profiles yml precedence core fusion #8443
Conversation
- Update _profiles.yml.md to show precedence order with tabs for Core vs Fusion - Update _connection-profiles.md to clarify differences in profile directory precedence - Add note that DBT_PROFILES_DIR is only supported in dbt Core, not Fusion - Clarify that Fusion uses a simplified precedence without DBT_PROFILES_DIR env var Co-authored-by: mirna.wong <[email protected]>
|
Cursor Agent can help with this pull request. Just |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| dbt Fusion determines the parent directory for `profiles.yml` using the following precedence: | ||
|
|
||
| 1. `--profiles-dir` option | ||
| 2. current working directory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
edit
| dbt Fusion searches for the parent directory of `profiles.yml` in the following order and uses the first location it finds: | ||
|
|
||
| 1. `--profiles-dir` flag — Override for CI/CD or testing. | ||
| 2. Project root directory (current working directory) — Project-specific credentials. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
edit this
What are you changing in this pull request and why?
This PR updates the documentation for
profiles.ymlprecedence on both theprofiles.ymlandconnection-profilespages.The changes clarify the different precedence orders for
profiles.ymllocation between dbt Core and dbt Fusion. Specifically, it highlights that theDBT_PROFILES_DIRenvironment variable is only supported in dbt Core and not in dbt Fusion.This addresses user confusion regarding
profiles.ymlresolution in Fusion environments, as discussed in this Slack thread.Checklist
Slack Thread