WindmillWWindmill
Powered by
aurelienbrabantA
Windmill•3y 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
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
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.
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Access Resources and Variables in Windmill Rust Script
David LinDDavid Lin / help
10mo ago
Unable to insert resources/variables in Rust using tabs in editor
TreyTTrey / help
3mo ago
Scripts, variables, resources disappeared from web interface
finaleFfinale / help
6mo ago
Scheduled script stops scheduling after wait for executor
MrOsdevMMrOsdev / help
11mo ago