Create an Endpoint Storage (S3 bucket for logs)
edgegap_create_endpoint_storageRegister an S3-compatible bucket as Endpoint Storage to export container logs when deployments end; then enable log export on the app version.
Instructions
Register an S3-compatible bucket (AWS S3, Cloudflare R2, DigitalOcean Spaces, ...) as Endpoint Storage, so container logs are exported there when deployments end. The developer supplies the bucket, endpoint URL and an access key pair scoped to that bucket; never invent or reuse other credentials, and never pass the Edgegap API token. The secret key is sent once and never echoed back. Then set endpoint_storage on the version (edgegap_update_app_version) to turn log export on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for this storage, e.g. "game-logs". | |
| bucket | Yes | Bucket name. | |
| dry_run | No | Show the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it. | |
| endpoint | Yes | https URL of the S3 endpoint, without the bucket, e.g. "https://s3.us-east-1.amazonaws.com". | |
| access_key_id | Yes | Access key ID for the bucket. | |
| output_format | No | Log file format. Default TEXT. | |
| secret_access_key | Yes | Secret access key for the bucket. Never echoed back. | |
| container_log_version | No | v1 (default) writes one file per deployment; v2 streams chunks while it runs. |