TemplatedTask TemplatedTask

yaml
type: "io.kestra.plugin.core.templating.TemplatedTask"

This task's spec property allows you to fully template all task properties using Kestra's Pebble templating. This way, all task properties and their values can be dynamically rendered based on your custom inputs, variables, and outputs from other tasks!

Examples

yaml
id: "templated_task"
type: "io.kestra.plugin.core.templating.TemplatedTask"
spec: |
  type: io.kestra.plugin.fs.http.Download
  {{ task.property }}: {{ task.value }}

Properties

spec

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The templated task specification

Outputs

Definitions

Was this page helpful?