Kenny Ning
05/20/2024, 11:11 PM- name: tap-postgres
config:
host: localhost
user: ${PGUSER}
port: ${PGPORT}
password: ${PGPASSWORD}
database: ${PGDATABASE}
i can confirm that these env variables are set when i run env
, but when i run meltano config tap-postgres test
it doesn't appear to have set these values:
File "/meltano-project/.meltano/extractors/tap-postgres/venv/lib/pionError: Need either the sqlalchemy_url to be set or host, port, user, and password to be set
is there something else i can do to determine why these variables are not getting set? in general, im finding it difficult to debug and understand what meltano is doing under the hood when i get into situations like theseEdgar Ramírez (Arch.dev)
05/21/2024, 12:59 AMKenny Ning
05/21/2024, 6:22 PMEdgar Ramírez (Arch.dev)
05/21/2024, 7:08 PMmeltano.yml
Kenny Ning
05/21/2024, 7:16 PMmeltano.yml
, maybe using the interactive config setting weirdly? hard to reproduce 😞Edgar Ramírez (Arch.dev)
05/21/2024, 11:21 PMenvironments:
- name: dev
config:
plugins:
extractors:
- name: tap-smoke-test
config:
streams:
- input_filename: "<https://gitlab.com/meltano/tap-smoke-test/-/raw/main/demo-data/animals-data.jsonl>"
stream_name: animals
- name: staging
- name: prod
send_anonymous_usage_stats: false
plugins:
extractors:
- name: tap-smoke-test
variant: meltano
pip_url: git+<https://github.com/meltano/tap-smoke-test.git>
does work well with meltano@py311 --environment=dev config tap-smoke-test test