Hi All, since i havent find solid info about custo...
# ask-metaflow
b
Hi All, since i havent find solid info about custom parameters in step-functions deployment. I would like to ask it here. I have a flow where there is a custom parameter called
number_of_items
. I need to deploy this onto step functions. So, i use
python path_to_metaflow.py --with batch:image=image:latest --branch sk --production step-functions create --number_of_items 15'
which gives me an error. So, cant we supply custom parameters during step function deployment? thx in advance.
1
b
I believe this is not possible. You can use default parameters to do this, see also https://docs.metaflow.org/production/scheduling-metaflow-flows/scheduling-with-aws-step-functions#deploy-time-parameters.
I am also just a user of metaflow myself, but I think the reason is that at deploy time you do not manually want to set some parameter. Instead you want to do this by setting a default parameter, which could be set specifically for deploy time using a default function. as in the link. In this way deployment is not depending on manual input.
💯 1
👍 1
b
thanks mate. it makes sense the info on the link.