Samuel Nogueira Farrus
04/30/2025, 7:25 PM.env
variables according to environments?? My case: I have two environments named prod1
and prod2
and my target-postgres
credentials are different for each, so I would like to have them both at the .env
file and switch according to the environment, if possible (also, I do accept workarounds and bypasses).Samuel Nogueira Farrus
04/30/2025, 7:39 PMEdgar Ramírez (Arch.dev)
04/30/2025, 7:40 PMmeltano.yml
and set them in `.env`:
environments:
- name: dev
config:
plugins:
loaders:
- name: target-postgres
config:
host: $POSTGRES_DEV
- name: prod
config:
plugins:
loaders:
- name: target-postgres
config:
host: $POSTGRES_PROD
plugins:
loaders:
- name: target-postgres
Does https://github.com/meltano/meltano/issues/3447 describe your use case?Edgar Ramírez (Arch.dev)
04/30/2025, 7:40 PMNevermind, I figured that out.Oh, cool 😅
Samuel Nogueira Farrus
04/30/2025, 7:42 PMAndy Carter
05/21/2025, 10:35 AM