2024-04-21 12:02:19 +02:00
|
|
|
---
|
2024-04-19 15:26:34 +02:00
|
|
|
# Kestra Inputs Template
|
|
|
|
# ---
|
2024-04-21 11:59:31 +02:00
|
|
|
#
|
|
|
|
# Inputs is a list of dynamic values passed to the flow at runtime.
|
|
|
|
#
|
2024-04-19 15:26:34 +02:00
|
|
|
|
|
|
|
id: inputs
|
2024-04-21 12:06:15 +02:00
|
|
|
namespace: # your-namespace
|
2024-04-19 15:26:34 +02:00
|
|
|
|
|
|
|
inputs:
|
|
|
|
- id: string
|
|
|
|
type: STRING
|
|
|
|
|
|
|
|
- id: optional
|
|
|
|
type: STRING
|
|
|
|
required: false
|
|
|
|
|
|
|
|
- id: int
|
|
|
|
type: INT
|
|
|
|
|
|
|
|
- id: bool
|
|
|
|
type: BOOLEAN
|
|
|
|
|
|
|
|
- id: float
|
|
|
|
type: FLOAT
|
|
|
|
|
|
|
|
- id: instant
|
|
|
|
type: DATETIME
|
|
|
|
|
|
|
|
- id: date
|
|
|
|
type: DATE
|
|
|
|
|
|
|
|
- id: time
|
|
|
|
type: TIME
|
|
|
|
|
|
|
|
- id: duration
|
|
|
|
type: DURATION
|
|
|
|
|
|
|
|
- id: file
|
|
|
|
type: FILE
|
|
|
|
|
|
|
|
- id: optionalFile
|
|
|
|
type: FILE
|
|
|
|
|
|
|
|
- id: instantDefaults
|
|
|
|
type: DATETIME
|
|
|
|
defaults: "2013-08-09T14:19:00Z"
|
|
|
|
|
|
|
|
- id: json
|
|
|
|
type: JSON
|
|
|
|
|
|
|
|
- id: uri
|
|
|
|
type: URI
|
|
|
|
|
|
|
|
- id: secret
|
|
|
|
type: SECRET
|
|
|
|
|
|
|
|
- id: nested.string
|
|
|
|
type: STRING
|
|
|
|
|
|
|
|
tasks:
|
2024-04-19 15:28:52 +02:00
|
|
|
- id: using_inputs
|
|
|
|
type: io.kestra.core.tasks.log.Log
|
|
|
|
message: "{{ inputs.string }}"
|