inputs.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. ---
  2. # Kestra Inputs Template
  3. # ---
  4. #
  5. # Inputs is a list of dynamic values passed to the flow at runtime.
  6. #
  7. id: inputs # <- Replace with your task id...
  8. namespace: your-namespace # <- Replace with your namespace...
  9. inputs:
  10. - id: string # <- Replace with your input name...
  11. type: STRING
  12. - id: optional # <- Replace with your input name...
  13. type: STRING
  14. required: false
  15. - id: int # <- Replace with your input name...
  16. type: INT
  17. - id: bool # <- Replace with your input name...
  18. type: BOOLEAN
  19. - id: float # <- Replace with your input name...
  20. type: FLOAT
  21. - id: instant # <- Replace with your input name...
  22. type: DATETIME
  23. - id: date # <- Replace with your input name...
  24. type: DATE
  25. - id: time # <- Replace with your input name...
  26. type: TIME
  27. - id: duration # <- Replace with your input name...
  28. type: DURATION
  29. - id: file # <- Replace with your input name...
  30. type: FILE
  31. - id: optionalFile # <- Replace with your input name...
  32. type: FILE
  33. - id: instantDefaults # <- Replace with your input name...
  34. type: DATETIME
  35. defaults: "2013-08-09T14:19:00Z" # <- Replace with your default value...
  36. - id: json # <- Replace with your input name...
  37. type: JSON
  38. - id: uri # <- Replace with your input name...
  39. type: URI
  40. - id: secret # <- Replace with your input name...
  41. type: SECRET
  42. - id: nested.string # <- Replace with your input name...
  43. type: STRING
  44. tasks:
  45. - id: using_inputs
  46. type: io.kestra.plugin.core.log.Log
  47. message: "{{ inputs.string }}"