visch
07/27/2022, 11:44 PMmeltano --environment=prod config target-csv set destination_path ./output
I would think would set the configuration for the prod environment for target-csv's destination_path config to ./output.
Instead my setting is getting set "globally"
After running my (snipped meltano.yml) looks like
environments:
- name: dev
- name: localdev
- name: prod
2 - name: target-csv
1 variant: hotgluexyz
736 pip_url: git+<https://github.com/AutoIDM/target-csv.git>
1 config:
2 destination_path: ./output
3 validate: falsevisch
07/27/2022, 11:44 PMvisch
07/27/2022, 11:45 PM2022-07-27T23:45:14.777530Z [info ] Environment 'prod' is active
Loader 'target-csv' setting 'destination_path' was set in `meltano.yml`: './output'visch
07/27/2022, 11:57 PM- name: localdev
config:
plugins:
loaders:
- name: target-csv
config:
destination_path: ./output
My path is pulled as expected following env rulesedgar_ramirez_mondragon
07/28/2022, 12:02 AM--store option
meltano --environment=prod config target-csv set destination_path ./output --store=meltano_environment
does it set the value in the right place?visch
07/28/2022, 12:07 AMaaronsteers
07/28/2022, 6:24 PMmeltano config behavior. Looks like a conflict between behaviors --store=meltano_environment and --environment=. If we expect users to set with --environment=... then --store=meltano_environment can probably be removed in favor of --store=meltano_yaml automatically choosing top-level or environment-level based on the --environment flag or lack thereof.aaronsteers
07/28/2022, 6:24 PMaaronsteers
07/28/2022, 6:35 PMvisch
07/28/2022, 6:36 PMaaronsteers
07/28/2022, 6:39 PMaaronsteers
07/28/2022, 6:39 PM