christianlempa-boilerplates/kestra/inputs.yaml

66 lines
1.5 KiB
YAML
Raw Normal View History

---
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
2024-12-03 14:43:56 +01:00
id: inputs # <- Replace with your task id...
namespace: your-namespace # <- Replace with your namespace...
2024-04-19 15:26:34 +02:00
inputs:
2024-12-03 14:43:56 +01:00
- id: string # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: STRING
2024-12-03 14:43:56 +01:00
- id: optional # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: STRING
required: false
2024-12-03 14:43:56 +01:00
- id: int # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: INT
2024-12-03 14:43:56 +01:00
- id: bool # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: BOOLEAN
2024-12-03 14:43:56 +01:00
- id: float # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: FLOAT
2024-12-03 14:43:56 +01:00
- id: instant # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: DATETIME
2024-12-03 14:43:56 +01:00
- id: date # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: DATE
2024-12-03 14:43:56 +01:00
- id: time # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: TIME
2024-12-03 14:43:56 +01:00
- id: duration # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: DURATION
2024-12-03 14:43:56 +01:00
- id: file # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: FILE
2024-12-03 14:43:56 +01:00
- id: optionalFile # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: FILE
2024-12-03 14:43:56 +01:00
- id: instantDefaults # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: DATETIME
2024-12-03 14:43:56 +01:00
defaults: "2013-08-09T14:19:00Z" # <- Replace with your default value...
2024-04-19 15:26:34 +02:00
2024-12-03 14:43:56 +01:00
- id: json # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: JSON
2024-12-03 14:43:56 +01:00
- id: uri # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: URI
2024-12-03 14:43:56 +01:00
- id: secret # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: SECRET
2024-12-03 14:43:56 +01:00
- id: nested.string # <- Replace with your input name...
2024-04-19 15:26:34 +02:00
type: STRING
tasks:
2024-04-19 15:28:52 +02:00
- id: using_inputs
2024-12-03 14:43:56 +01:00
type: io.kestra.plugin.core.log.Log
2024-04-19 15:28:52 +02:00
message: "{{ inputs.string }}"