ADR-0010: Single region, us-east-1#

  • Status: accepted
  • Date: 2026-07-30

Context#

Two components force us-east-1 regardless of preference:

  • Route 53 DNSSEC key-signing keys must be KMS keys in us-east-1.
  • ACM certificates for CloudFront must be issued in us-east-1.

Route 53 hosted zones and CloudFront distributions are global. That leaves only the S3 buckets and the Lambda function with a genuine choice of region.

Decision#

Put everything in us-east-1. Assert it in a variable validation block, and assert it again with a precondition on the resources where it is a hard service constraint.

Use no provider aliases anywhere in the codebase.

Alternatives considered#

Origin in a preferred region, with an aliased us-east-1 provider for ACM and the DNSSEC key. The conventional approach, and what most AWS Terraform looks like. Rejected because it means every module that touches either service needs a providers block, every root needs two provider configurations, and a misconfigured alias produces confusing failures — for a static site whose origin region affects only cache-miss latency, from CloudFront edges, for a 2 MB site.

Origin closer to the author. Would shave tens of milliseconds off cache misses. CloudFront caches aggressively and the content is static; the effect is unmeasurable in practice.

Multi-region origin with failover. Meaningful for dynamic content. For static files behind a global CDN with a 99.9% cache hit rate, the additional failure modes outweigh the availability gain.

Consequences#

Positive: not a single provider alias in the repository. Every module has one implicit provider, which makes them simpler to read and to test — mock_provider in the test suite has one provider to mock. No possibility of a resource landing in the wrong region. The us-east-1 requirement is asserted at plan time with a clear message instead of surfacing as an opaque CloudFront or Route 53 error.

Negative: us-east-1 has a reputation for being the region where AWS outages begin, and it is also the busiest. A regional S3 outage would cause cache misses to fail — though CloudFront would keep serving cached content. Marginally higher cache-miss latency for viewers far from Virginia.

Neutral: all data resides in the United States. Not a concern for public documentation, but it would be a real consideration for anything with a data residency requirement.

Revisit when#

  • Anything is deployed that has a genuine regional preference — a database, a

stateful service, anything with data residency requirements.

  • The self-run DNS server arrives. It has no us-east-1 constraint and could

reasonably live elsewhere, which would be the first legitimate reason to introduce a provider alias.

  • AWS lifts the us-east-1 requirement for CloudFront certificates or Route 53

DNSSEC keys.

Built 2026-11-25 from commit 33bfabf6a27d4baeecf228c31bd5d636a3965070. This page was generated from the same source that provisions the infrastructure it describes.