aurelienbrabantA
Windmill3y ago
26 replies
aurelienbrabant

Support for passing variables and resources in shell executor

Hi there, was wondering if there was any plan to support windmill's variable and resource types as script input arguments.

Currently using a variable as an argument doesn't expand it, instead it displays the the path of the variable.

Also I didn't find a way to specify a type for a resource argument, even using the customize pane.

I know bash does not have types but I think expanding either the string value of the variable or the JSON of the resource as a string should be the behaviour. We can always leverage cli tools such as jq to extract the data we want.

I'm well aware that it's possible to get specific variables and resources from inside a shell script but I'm truly looking for parametrisation here.
Was this page helpful?