-
Notifications
You must be signed in to change notification settings - Fork 185
Open
Labels
kind/BugSomething isn't workingSomething isn't workingplugin managementplugin/dbtvaluestream/Meltano
Description
Meltano Version
3.7.7
Python Version
3.12
Bug scope
Configuration (settings parsing, validation, etc.)
Operating System
Linux - Ubuntu 20.04
Description
I was trying to use the dbt-postgres utility in Meltano and leverage inherit_from: in my dbt_project.yml so that I could share common configuration across multiple projects. When I run meltano invoke dbt-postgres run (or call it via a Meltano job), dbt immediately fails with a parsing error about a missing environment variable instead of loading the inherited config. I expected Meltano’s dbt-postgres integration to honor inherit_from.
2025-06-01T20:58:31.522938Z [info ] 20:58:31 Running with dbt=1.9.4 cmd_type=command name=dbt-postgres stdio=stderr
2025-06-01T20:58:31.527514Z [info ] 20:58:31 Encountered an error: cmd_type=command name=dbt-postgres stdio=stderr
2025-06-01T20:58:31.527760Z [info ] Parsing Error cmd_type=command name=dbt-postgres stdio=stderr
2025-06-01T20:58:31.528531Z [info ] Env var required but not provided: 'DBT_POSTGRES_HOST' cmd_type=command name=dbt-postgres stdio=stderr
2025-06-01T20:58:31.638849Z [error ] Block run completed. block_type=InvokerCommand err=RunnerError('`dbt-postgres select-ndo` failed with exit code: 2') exit_codes={} set_number=2 success=False
Need help fixing this problem? Visit http://melta.no/ for troubleshooting steps, or to
join our friendly Slack community.
Run invocation could not be completed as block failed: `dbt-postgres select-ndo` failed with exit code: 2
make: *** [pipeline] Error 1
Code
utilities:
- name: dbt-postgres
variant: dbt-labs
pip_url: dbt-core dbt-postgres meltano-dbt-ext~=0.3.0
- name: dbt-postgres--example
inherit_from: dbt-postgres
Link to Slack/Linen
(https://discuss.meltano.com/t/27037771/hello-i-am-running-into-an-issue-when-trying-to-inherit-the-)
No response
Metadata
Metadata
Assignees
Labels
kind/BugSomething isn't workingSomething isn't workingplugin managementplugin/dbtvaluestream/Meltano