Skip to content

utils:env

utils:env

Define local environment variables

Maps variables in key-pairs once during task startup. Useful for easier job templating to streamline input and output parameters throughout task layouts.

Example:

{
  "tool": "utils:env",
  "parameters": {
    "videoIn": "string",
    "source-base-path": "s3.castlabs.com",
    "asset_id": "DRMtoday_Asset_ID_0bacbfd4-c173-4d5c-bcd4-d677cf4b4c6e"
  }
},
...
{
    "tool": "ffmpeg:cmd",
    "parameters": {
            "-i": "{videoIn}",
            ...
        }
}
Parameter Properties Default Type Choice Description