I'm trying to connect to snowflake via dbt but connections fail with the error below:
Using profiles.yml file at /home/myname/.dbt/profiles.yml
Using dbt_project.yml file at /mnt/c/Users/Public/learn_dbt/rks-learn-dbt/learn_dbt/dbt_project.yml
Configuration:
profiles.yml file [ERROR invalid]
dbt_project.yml file [OK found and valid]
Profile loading failed for the following reason:
Runtime Error
Could not find profile named 'learn_dbt'
Required dependencies:
- git [OK found]
Any advice please.
Note: I am learning to setup dbt connections looking at udemy videos.
Below is my profiles.yml
file:
learn_dbt:
target: dev
outputs:
dev:
type: snowflake
account: XXXXXX
user: XXXX
password: XXXX
role: transform_role
database: analytics
warehouse: transform_wh
schema: dbt
threads: 1
client_session_keep_alive: False