Skip to content
Legacy docs for Tenzir v5.x. For the latest Tenzir v6 series, visit docs.tenzir.com. Migrating from v5? Read the Tenzir v6 migration guide.

Amazon Simple Storage Service (S3) is an object storage service. Tenzir can treat it like a local filesystem to read and write files.

AmazonS3

Use from_s3 to read files from S3. It supports glob patterns, automatic format detection, and IAM role assumption. For writing, use save_s3 with a print operator.

Follow the standard configuration instructions to authenticate with your AWS credentials.

from_s3 "s3://my-bucket/path/to/file.json.gz"
from_s3 "s3://my-bucket/logs/**.json"
from {foo: 42}
print_json
compress_gzip
save_s3 "s3://my-bucket/path/to/file.json.gz"

Last updated: