Core Plugins and tasks Write

Core Plugins and tasks Write

Certified

Write data to a file in Kestra internal storage.

Renders content, writes it to a temp file (optionally with extension), and uploads it to internal storage, returning the kestra:// URI.

Handy for generating small artifacts that downstream tasks can consume via URI.

yaml
type: io.kestra.plugin.core.storage.Write

Write data to a file in the internal storage.

yaml
id: write_file
namespace: company.team

tasks:
  - id: write
    type: io.kestra.plugin.core.storage.Write
    content: Hello World
    extension: .txt
Properties

The file content

The file extension

Reference (ref) of the pluginDefaults to apply to this task.

Formaturi

The created file URI