Hello, I'm just getting going with Meltano and DBT...
# plugins-dbt
r
Hello, I'm just getting going with Meltano and DBT. I can't figure out why meltano is trying to look for the profiles.yml in the wrong place. I am getting this error: Error: Invalid value for '--profiles-dir': Path '{path_to_my_project}/transform/profile'. I can see the meltano profiles.yml file in this path: {path_to_my_project|/transform/profiles/postgres/profiles.yml . I am not setting profiles_dir anywhere in my meltano.yml file.
✅ 1
e
Can you try removing the dbt
transformer
and instead use the
dbt-postgres
utility plugin? https://hub.meltano.com/utilities/dbt-postgres/
r
ok am trying, if I follow you, there's no dbt-postgres transformer defined in the meltano.yml project file, which makes uncertain about what to declare in the file versus using the cli to add things
Ok, I tried the dbt-postgres utility. I got further but am not getting the following error:
What's strange is that dbt_project.yml is generated with a path to .meltano/transformers/dbt/target that does not exist. After using the dbt-postgres utility, the path in my project is .meltano/utilities/dbt-postgres
and thanks @Edgar Ramírez (Arch.dev) for your advice to switch to the utility
FYI, I was able to get past this by manually editing the dbt_project.yml file that was generated by meltano and remove the incorrect paths. I will commit that file into my project and not relay on that being generated I suppose.
👍 2