Infra-first static hosting
Terraform creates and wires the CDN and origin—you supply built HTML/CSS/JS (or automate builds separately). Bucket policies keep the origin private while CloudFront fetches objects through OAC permissions.
Separate state keys isolate staging versus production workloads, aligning with predictable promotion rituals and Git-driven automation outlined in the upstream documentation.