cloudfront-s3-website
HarishKM7/cloudfront-s3-website/aws
Terraform module for S3 website with CloudFront.
Install
README
S3 Website + CloudFront This opinionated Terraform module creates a private S3 bucket configured for static website hosting and a CloudFront distribution for it. Bucket is NOT public. ONLY CloudFront is allowed access to it using a Referer header. Details here. Bucket name is auto-generated and outputted. SSE-S3 encryption is enabled by default. Bucket must contain index.html. CloudFront caching is disabled. CloudFront is only deployed to US, Canada, and Europe. * CloudFront custom domain is not supported. Distribution URL is outputted.
Outputs (2)
website_urlbucket_nameResources (1)
Topics & Tags
Details
Similar packages
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Azure Verified Pattern Module for Azure Landing Zone
Terraform Azure Verified Resource Module for Key Vault
Terraform module for building and deploying Next.js apps to AWS. Supports SSR (L