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
- Bucket root only — no
portfolio/prefix. - Never
aws s3 sync --deletethe shared bucket. - Do not invalidate
/*onEXAMPLE_DISTRIBUTION_ID. - Do not destroy
shared-cdn-testfrom this repo. - Production stays on
portfolio-prodCDN untilshared-cdn-productionis requested. - Leave stack-owned
portfolio-testAssetsBucket/AssetsDistributionuntil explicitly retired.