jan_soubusta
03/31/2023, 2:35 PM- name: dev_local
config:
plugins:
extractors:
- name: tap-salesforce
config:
api_type: BULK
is_sandbox: true
select_fields_by_default: false
start_date: '2023-01-01T00:00:00Z'
streams_to_discover:
- Account
.....
The only property which differs in environemnts is the start_date
.
Is there a way how to specify the same properties in the main config and start_date
per environment?
If I am not mistaken, if I specify config both in main plugin config and in each environment, the environment config fully replaces the main one and it obviously does not work then....Andy Carter
03/31/2023, 2:41 PMenv:
level and have top-level config the same?jan_soubusta
03/31/2023, 2:43 PMjan_soubusta
03/31/2023, 2:44 PMjan_soubusta
03/31/2023, 3:05 PMenvironments:
- name: dev
env:
START_DATE: "2023-01-01T00:00:00Z"
SALESFORCE_SANDBOX: "true"
- name: prod
env:
START_DATE: "2021-01-01T00:00:00Z"
SALESFORCE_SANDBOX: "false"
plugins:
extractors:
- name: tap-salesforce
variant: meltanolabs
pip_url: git+<https://github.com/jaceksan/tap-salesforce.git>
config:
api_type: BULK
is_sandbox: ${SALESFORCE_SANDBOX}
select_fields_by_default: false
start_date: ${START_DATE}
streams_to_discover:
- Account
pat_nadolny
03/31/2023, 3:11 PMAndy Carter
03/31/2023, 3:11 PMjan_soubusta
03/31/2023, 3:13 PMpat_nadolny
03/31/2023, 3:25 PM