This documentation is available to agents as Markdown at https://docs.synthesized.io/tdk/latest/user_guide/070_integrations/cloud_storage.md. For the complete documentation index, see llms.txt.

Files and Cloud Storage

Besides databases, the platform can read and write CSV files: in a local folder, on a file share mounted on the workers, or in S3 and S3-compatible storage. It can also read configuration and script files from S3 or Google Cloud Storage.

Where files can be

Location URL Page

A local folder, or a file share mounted on the worker

file:///path/to/folder/

Local and Network File Shares

Amazon S3, or S3-compatible storage such as MinIO

s3://<endpoint>/<bucket>/<folder>/

Amazon S3

XML files, from an XSD schema

xml:s3://…​

XML Files Generation

For how CSV input is laid out, how files are read and what the output looks like, see CSV Support.

Configuration and script files

The TDK CLI can read files from cloud storage, including script files for the scripting transformer:

  • S3: configuration and script files. Set TDK_AWS_ENABLED=true.

  • Google Cloud Storage: configuration, inventory and script files. Set TDK_GCP_ENABLED=true.

For example, a script file in S3:

tables:
  - table_name_with_schema: "public.customers"
    transformations:
      - columns: ["custom_field"]
        params:
          type: scripting_transformer
          language: JAVASCRIPT
          script:
            file: "s3://my-bucket/scripts/custom_transform.js"

Workflows run from Governor’s web UI can’t load script files: write the script in the configuration instead.

Pages in this section