Andy Carter
07/16/2024, 4:06 PMmeltano.yml
- name: tap-mssql
variant: buzzcutnorman
pip_url: git+<https://github.com/BuzzCutNorman/tap-mssql.git>
config:
password: ${MY_PASSWORD}
but in .env
TAP_MSSQL_PASSWORD='wrong_password'
MY_PASSWORD='right_password'
Then the TAP_MSSQL_PASSWORD
takes precedence over the specified config to use MY_PASSWORD
when running the tap. Is this intended?Taylor Murphy (Arch)
07/16/2024, 7:40 PMTAP_MSSQL_PASSWORD
and if it finds it just use that. terminal env and .env
are where meltano first looks and then will pull from config.Taylor Murphy (Arch)
07/16/2024, 7:40 PM- terminal env and .env
- root-level env in meltano.yml
- active environment env
- root-level plugin-level env
- active environment-level plugin-level env
Taylor Murphy (Arch)
07/16/2024, 7:41 PMTaylor Murphy (Arch)
07/16/2024, 7:41 PMmeltano invoke --dump=config tap-mssql
to confirm the configEdgar Ramírez (Arch.dev)
07/16/2024, 7:51 PMtap-mssql.config.password
in meltano.yml
should take precedence (even if it requires expansion) over the env var. In reality the <PLUGIN>_<SETTING>
has always taken precedence over meltano.yml
:
https://github.com/meltano/meltano/blob/34f713f11e70a294b0d1ac1cc26fbe4edb15737e/src/meltano/core/settings_store.py#L117-L125.Edgar Ramírez (Arch.dev)
07/16/2024, 7:52 PMAndy Carter
07/17/2024, 10:59 AMEdgar Ramírez (Arch.dev)
07/17/2024, 6:32 PMTAP_MSSQL_PASSWORD
takes precedence over config: {...}
, otherwise, it wouldn't work as an override.Andy Carter
07/18/2024, 9:27 AMCONFIG_OVERRIDE
as linking to config:
in yaml, but that's MELTANO_YML
which is further down the priorityEdgar Ramírez (Arch.dev)
07/18/2024, 2:17 PM--log-level
that can override a setting value.