GitHub
04/29/2025, 1:12 AMmeltano.yml, when overriding the same config via parent plugin environment variable, I expect the resulting value to be sourced from the parent plugin environment variable.
reuben@reuben-Inspiron-14-5425:~/Documents/taps/tap-iterable-msdk$ meltano config iterable-inherited list
2025-04-29T00:52:43.352561Z [info ] The default environment 'test' will be ignored for `meltano config`. To configure a specific environment, please use the option `--environment=<environment name>`.
api_key [env: ITERABLE_INHERITED_API_KEY] current value: (redacted) (inherited from 'tap-iterable')
API key: Iterable API key
region [env: ITERABLE_INHERITED_REGION] current value: 'EU' (from `meltano.yml`)
Region: Iterable region
start_date [env: ITERABLE_INHERITED_START_DATE] current value: '2025-04-25' (inherited from 'tap-iterable')
Start date: Timestamp in ISO 8601 format to get data from (inclusive)
end_date [env: ITERABLE_INHERITED_END_DATE] current value: None (default)
End date: Timestamp in ISO 8601 format to get data up to (inclusive)
reuben@reuben-Inspiron-14-5425:~/Documents/taps/tap-iterable-msdk$
reuben@reuben-Inspiron-14-5425:~/Documents/taps/tap-iterable-msdk$ TAP_ITERABLE_REGION=US meltano config iterable-inherited list
2025-04-29T00:53:54.340816Z [info ] The default environment 'test' will be ignored for `meltano config`. To configure a specific environment, please use the option `--environment=<environment name>`.
api_key [env: ITERABLE_INHERITED_API_KEY] current value: (redacted) (inherited from 'tap-iterable')
API key: Iterable API key
region [env: ITERABLE_INHERITED_REGION] current value: 'US' (inherited from the TAP_ITERABLE_REGION variable in the environment)
Region: Iterable region
start_date [env: ITERABLE_INHERITED_START_DATE] current value: '2025-04-25' (inherited from 'tap-iterable')
Start date: Timestamp in ISO 8601 format to get data from (inclusive)
end_date [env: ITERABLE_INHERITED_END_DATE] current value: None (default)
End date: Timestamp in ISO 8601 format to get data up to (inclusive)
### Actual
Parent plugin environment variable is not respected - most likely due to ordering of config source resolution i.e.
1. All parent plugin configuration layers
2. All inheriting plugin configuration layers
rather than `n`th configuration layer for each plugin in the inheritance hierarchy.
reuben@reuben-Inspiron-14-5425:~/Documents/taps/tap-iterable-msdk$ meltano config iterable-inherited list
2025-04-29T00:52:43.352561Z [info ] The default environment 'test' will be ignored for `meltano config`. To configure a specific environment, please use the option `--environment=<environment name>`.
api_key [env: ITERABLE_INHERITED_API_KEY] current value: (redacted) (inherited from 'tap-iterable')
API key: Iterable API key
region [env: ITERABLE_INHERITED_REGION] current value: 'EU' (from `meltano.yml`)
Region: Iterable region
start_date [env: ITERABLE_INHERITED_START_DATE] current value: '2025-04-25' (inherited from 'tap-iterable')
Start date: Timestamp in ISO 8601 format to get data from (inclusive)
end_date [env: ITERABLE_INHERITED_END_DATE] current value: None (default)
End date: Timestamp in ISO 8601 format to get data up to (inclusive)
reuben@reuben-Inspiron-14-5425:~/Documents/taps/tap-iterable-msdk$
reuben@reuben-Inspiron-14-5425:~/Documents/taps/tap-iterable-msdk$ TAP_ITERABLE_REGION=US meltano config iterable-inherited list
2025-04-29T00:53:54.340816Z [info ] The default environment 'test' will be ignored for `meltano config`. To configure a specific environment, please use the option `--environment=<environment name>`.
api_key [env: ITERABLE_INHERITED_API_KEY] current value: (redacted) (inherited from 'tap-iterable')
API key: Iterable API key
region [env: ITERABLE_INHERITED_REGION] current value: 'EU' (from `meltano.yml`)
Region: Iterable region
start_date [env: ITERABLE_INHERITED_START_DATE] current value: '2025-04-25' (inherited from 'tap-iterable')
Start date: Timestamp in ISO 8601 format to get data from (inclusive)
end_date [env: ITERABLE_INHERITED_END_DATE] current value: None (default)
End date: Timestamp in ISO 8601 format to get data up to (inclusive)
### Code
version: 1
send_anonymous_usage_stats: true
project_id: tap-iterable
default_environment: test
environments:
- name: test
plugins:
extractors:
- name: tap-iterable
namespace: tap_iterable
pip_url: -e .
capabilities:
- state
- catalog
- discover
- about
- stream-maps
settings_group_validation:
- [api_key]
settings:
- name: api_key
label: API key
description: Iterable API key
sensitive: true
- name: region
kind: options
label: Region
description: Iterable region
options:
- label: US
value: US
- label: EU
value: EU
- name: start_date
kind: date_iso8601
label: Start date
description: Timestamp in ISO 8601 format to get data from (inclusive)
- name: end_date
kind: date_iso8601
label: End date
description: Timestamp in ISO 8601 format to get data up to (inclusive)
- name: iterable-inherited
inherit_from: tap-iterable
config:
region: EU
loaders:
- name: target-jsonl
variant: andyh1203
pip_url: target-jsonl
- name: target-snowflake
variant: meltanolabs
pip_url: meltanolabs-target-snowflake
### Link to Slack/Linen
No response
meltano/meltano