Support AWS S3 alongside Cloudflare R2 in storage layer

↗ view on GitHub · Claude · 2026-05-04 · ddc07e1e

Make endpoint and explicit credentials optional so the SDK falls back to
AWS default endpoints and the default credential provider chain (which
picks up the ECS task role automatically). Add R2_REGION env var that
falls back to AWS_REGION (auto-set inside ECS) and finally to "auto" for
R2 compatibility.

Needed because we're deploying on AWS App Runner's successor (ECS
Fargate + ALB) rather than Cloudflare.
Repository easterbrooka/mike
Author Claude <noreply@anthropic.com>
Authored
Parents d9690965
Stats 2 files changed , +35 , -20
Part of AWS ECS Fargate deployment path

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-ddc07e1e.md from inside the repo you want the change in.

⬇ Download capture-commit-ddc07e1e.md