Skip to content

Instantly share code, notes, and snippets.

View TanyaMushonga's full-sized avatar

Tanyaradzwa T Mushonga TanyaMushonga

View GitHub Profile
@TanyaMushonga
TanyaMushonga / aws-static-site-terraform.md
Last active September 30, 2025 20:39
A production-ready Terraform configuration that provisions secure, scalable, and globally distributed static website infrastructure on AWS using S3, CloudFront, and Certificate Manager

AWS Static Site Infrastructure with Terraform

A production-ready Terraform configuration that provisions secure, scalable, and globally distributed static website infrastructure on AWS using S3, CloudFront, and Certificate Manager.

Architecture Overview

┌─────────────────┐    ┌──────────────────┐    ┌─────────────────┐
│   User/Browser  │───▶│   CloudFront     │───▶│   S3 Bucket     │
│                 │    │   Distribution   │    │  (Private)      │