Skip to the content.

Shared CDN handoff (archived)

Status (2026-08-21): Implemented in portfolio. Test CD syncs to shared-cdn-test without --delete; Lambda imports shared-cdn-test-url.

Canonical docs: infra.md § Shared test CDN, cicd.md § Static assets.

Example resources (replace before use)

Item Value
CloudFormation stack shared-cdn-test (owned in Example Organization)
S3 bucket shared-cdn-test-assets-000000000000
CloudFront EXAMPLE_DISTRIBUTION_ID
NUXT_APP_CDN_URL https://cdn.example.com

Rules that still apply

  1. Bucket root only — no portfolio/ prefix.
  2. Never aws s3 sync --delete the shared bucket.
  3. Do not invalidate /* on EXAMPLE_DISTRIBUTION_ID.
  4. Do not destroy shared-cdn-test from this repo.
  5. Production stays on portfolio-prod CDN until shared-cdn-production is requested.
  6. Leave stack-owned portfolio-test AssetsBucket / AssetsDistribution until explicitly retired.