Skip to content

Commit

Permalink
Update connection-profiles.md (#6723)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Jan 6, 2025
2 parents bf5dadc + e499406 commit 797627d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,27 @@ jaffle_shop:
dbname: jaffle_shop
schema: dbt_alice
threads: 4

prod: # additional prod target
type: postgres
host: prod.db.example.com
user: alice
password: <prod_password>
port: 5432
dbname: jaffle_shop
schema: analytics
threads: 8
```
</File>
To add an additional target (like `prod`) to your existing `profiles.yml`, you can add another entry under the `outputs` key.

## About the `profiles.yml` file

In your `profiles.yml` file, you can store as many profiles as you need. Typically, you would have one profile for each warehouse you use. Most organizations only have one profile.
In your `profiles.yml` file, you can store as many profiles as you need. Typically, you would have one profile for each warehouse you use. Most organizations only have one profile.

For information about configuring advanced options, see [the `profiles.yml` reference page](/docs/core/connect-data-platform/profiles.yml).
or information about configuring advanced options, see [the `profiles.yml` reference page](/docs/core/connect-data-platform/profiles.yml).

## About profiles

Expand Down
2 changes: 2 additions & 0 deletions website/docs/docs/core/connect-data-platform/profiles.yml.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ If you're using dbt Cloud, you can [connect to your data platform](/docs/cloud/c

This section identifies the parts of your `profiles.yml` that aren't specific to a particular data platform. For specific connection details, refer to the relevant page for your data platform.

To add an additional target (like `prod`) to your existing `profiles.yml`, you can add another entry under the `outputs` key.

<VersionBlock lastVersion="1.7">

:::warning Global configs
Expand Down

0 comments on commit 797627d

Please sign in to comment.