Peter Klingelhofer
05/22/2024, 1:24 PMsite_id
as a parameter. Is there a way to activate a recurring launch plan with a different input parameter? Or do I have to hard-code each individual launch plan with every different site_id
I would ever want to activate?
cron_6hourly_lp = setup_launch_plan(
name="workflow.6hourly",
workflow=workflow_cron_wf,
default_inputs={
"site_id": "<UUID>",
},
schedule=CronSchedule(
schedule="0 */6 * * *",
),
)
flytectl update launchplan \
--project dev \
--domain development \
workflow_cron_wf \
--version 2024-05-21-19-55-02 \
--activate \
--parameters '{
"site_id": "<UUID>"
}'
Error: unknown flag: --parameters
ERRO[0000] unknown flag: --parameters
Samhita Alla
Peter Klingelhofer
05/24/2024, 1:25 PM