
Core Plugins and tasks Write
CertifiedWrite data to a file in Kestra internal storage.
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.WriteExamples
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
content *Requiredstring
The file content
extension string
The file extension
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
uri string
Format
uriThe created file URI