Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 555 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 555 Bytes

tf-aws-static-site

Example use:

module "hugo_blog" {
  source = "git::https://github.com/tabletcorry/tf-aws-static-site.git?ref=v1.1"

  # Name for S3 bucket and possibly other resources in AWS
  name                   = "hugo-bucket-name"
  # Primary domain name for Cloudfront and certificate
  primary_domain_name    = "example.com"
  # Secondary names for Cloudfront and certificate
  secondary_domain_names = ["www.example.com"]
  # JS Cloudfront function script for request path
  request_function_path  = "${path.module}/request.js"
}