
Core Plugins and tasks TemplatedTask
CertifiedRender and run a task from a templated spec.
Core Plugins and tasks TemplatedTask
Certified
Render and run a task from a templated spec.
Renders a YAML task definition from spec using Pebble and executes it. The rendered task must be a RunnableTask and cannot itself be TemplatedTask.
Useful for highly dynamic task definitions driven by inputs or previous outputs.
yaml
type: io.kestra.plugin.core.templating.TemplatedTaskExamples
yaml
id: templatedtask
type: io.kestra.plugin.core.templating.TemplatedTask
spec: |
type: io.kestra.plugin.core.http.Download
{{ task.property }}: {{ task.value }}
Properties
spec *Requiredstring
The templated task specification
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.