This Terraform module provisions a static website using AWS S3 and CloudFront with optional custom domain support.
- S3 bucket for static asset storage
- CloudFront distribution for content delivery
- Optional custom domain support (Cloudflare or Route53)
- Optional CloudFront function for request manipulation
- Optional CloudFront access logging
- S3 bucket versioning
module "static_website" {
source = "github.com/aashari/terraform-aws-static-website"
name = "my-static-website"
}