data.write_collection

Write every file in a local collection to a remote prefix, preserving basenames. Fails fast on the first error (partial writes are left in place; re-run with a cleanup step if needed).

  • Kind: standard
  • Network: yes

Inputs🔗

NameTypeDescription
filescollection of fileLocal files to upload.
uristringDestination URI prefix (trailing slash recommended).
overwritebooleanIf true, overwrite existing destinations. Defaults to false.

Outputs🔗

NameTypeDescription
receiptsjsonJSON array of per-file receipts, each with the destination URI, bytes, and sha256 of the uploaded content.

Example🔗

- id: 01890000-0000-0000-0000-000000000103
  name: data.write_collection
  inputs:
    - 01890000-0000-0000-0000-000000000000
  args:
    uri: "s3://my-bucket/results/"
    overwrite: true