Behavior of dbt init --profile
#4080
Labels
content
Improvements or additions to content
dbt Core
The changes proposed in this issue relate to dbt Core
dbt-core v1.7
Docs impact for the v1.7 release (Oct 2023)
improvement
Use this when an area of the docs needs improvement as it's currently unclear
Milestone
Pages to update
https://docs.getdbt.com/reference/commands/init#new-project
Description
If
--profile
is specified with dbt init, and the profile exists (inprofiles.yml
), initialize the project with that as theprofile:
key, instead of creating a new profile.If the profile does not exist (in
profiles.yml
), or the command is run inside an existing project, the command raises an error.dbt-core PR
dbt-labs/dbt-core#7450
The text was updated successfully, but these errors were encountered: