I'm trying to specify the environment for my sched...
# troubleshooting
m
I'm trying to specify the environment for my schedule, but regardless of where I put it (with the meltano when I create the schedule or as a parameter to the "schedule add") meltano says it's not a valid specification. How do I set the environment on a schedule from the command line (or in the yml file)?
e
What do your
schedules
look like currently in
meltano.yml
?
m
schedules: - name: daily-tap-xxx-db-prod-to-target-snowflake-base interval: '@daily' job: tap-xxx-db-prod-to-target-snowflake-base
e
Ok, this should work
Copy code
schedules:
- name: daily-tap-xxx-db-prod-to-target-snowflake-base
  interval: '@daily'
  job: tap-xxx-db-prod-to-target-snowflake-base
  env:
    YOUR_ENV_VAR: value
m
I wound up pulling the airflow out of meltano and setting it up standalone so I could use custom dags for the call, but thank you