mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2025-02-24 22:40:46 +01:00
66 lines
1.5 KiB
YAML
66 lines
1.5 KiB
YAML
---
|
|
# Kestra Inputs Template
|
|
# ---
|
|
#
|
|
# Inputs is a list of dynamic values passed to the flow at runtime.
|
|
#
|
|
|
|
id: inputs # <- Replace with your task id...
|
|
namespace: your-namespace # <- Replace with your namespace...
|
|
|
|
inputs:
|
|
- id: string # <- Replace with your input name...
|
|
type: STRING
|
|
|
|
- id: optional # <- Replace with your input name...
|
|
type: STRING
|
|
required: false
|
|
|
|
- id: int # <- Replace with your input name...
|
|
type: INT
|
|
|
|
- id: bool # <- Replace with your input name...
|
|
type: BOOLEAN
|
|
|
|
- id: float # <- Replace with your input name...
|
|
type: FLOAT
|
|
|
|
- id: instant # <- Replace with your input name...
|
|
type: DATETIME
|
|
|
|
- id: date # <- Replace with your input name...
|
|
type: DATE
|
|
|
|
- id: time # <- Replace with your input name...
|
|
type: TIME
|
|
|
|
- id: duration # <- Replace with your input name...
|
|
type: DURATION
|
|
|
|
- id: file # <- Replace with your input name...
|
|
type: FILE
|
|
|
|
- id: optionalFile # <- Replace with your input name...
|
|
type: FILE
|
|
|
|
- id: instantDefaults # <- Replace with your input name...
|
|
type: DATETIME
|
|
defaults: "2013-08-09T14:19:00Z" # <- Replace with your default value...
|
|
|
|
- id: json # <- Replace with your input name...
|
|
type: JSON
|
|
|
|
- id: uri # <- Replace with your input name...
|
|
type: URI
|
|
|
|
- id: secret # <- Replace with your input name...
|
|
type: SECRET
|
|
|
|
- id: nested.string # <- Replace with your input name...
|
|
type: STRING
|
|
|
|
tasks:
|
|
- id: using_inputs
|
|
type: io.kestra.plugin.core.log.Log
|
|
message: "{{ inputs.string }}"
|