worried-lighter-79998
09/27/2022, 5:42 AMlaunch_plan.LaunchPlan.get_or_create(
workflow=wf,
name="my_wf_prod", # prod specific
schedule=CronSchedule(schedule="1 0 * * *"),
default_inputs={
"execution_date": datetime.now(), # aside: this does not work. How do I provide an execution date?
},
fixed_inputs={
"out_path": consts.OUT_S3_PATH_PROD # prod specific vars
},
)
there is also a copy of this launch plan for the dev env, so that I can plug in the dev env vars. But this is silly and requires two copies. How can I parameterize workflows with something like env vars so I can vary them between prod and dev?freezing-airport-6809
worried-lighter-79998
09/27/2022, 6:43 AMlimited-dog-47035
09/27/2022, 12:17 PMfreezing-airport-6809
freezing-airport-6809