rene_czepluch
08/21/2023, 8:56 AMtap-spreadsheets-anywhere
on dev vs prod run.
Having some issues with writing the meltano.yml
file. I have this setup:
plugins:
extractors:
- name: tap-spreadsheets-anywhere
variant: ets
pip_url: git+<https://github.com/ets/tap-spreadsheets-anywhere.git>
config:
tables:
- path: file://../../data/dev/tracks
This works.
However, I am not sure how to make a custom configuration for prod? I just need the path to change to - path: file://../../data/prod/tracks
.
I just learned here meltano has a bug, that maks it unpossible to add a .env
variable for this switch. Would love your helpMatt Menzenski
08/21/2023, 5:44 PMtables
config property between your dev and prod environment, changing only the environment name:
environments:
- name: dev
config:
plugins:
extractors:
- name: tap-spreadsheets-anywhere
config:
tables:
- path: file://../../data/dev/tracks
- name: prod
config:
plugins:
extractors:
- name: tap-spreadsheets-anywhere
config:
tables:
- path: file://../../data/prod/tracks
plugins:
extractors:
- name: tap-spreadsheets-anywhere
variant: ets
pip_url: git+<https://github.com/ets/tap-spreadsheets-anywhere.git>
Matt Menzenski
08/21/2023, 5:45 PMrene_czepluch
08/22/2023, 7:35 AM