Skip to content

schm-dt/terraform-aws-s3-cloudfront-static-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3/CloudFront Secure Static Website

Given an Route 53 Zone and domain name, creates an s3 bucket, certificate and cloudfront distribution for a static website.

module "frontend" {
  providers = {
    aws = aws
  }

  domain_zone_id = data.aws_route53_zone.domain.id
  site_domain    = "domain.com"

  tags = {
    Environment = "production"
  }
}

About

Terraform module for creating a static website with s3 + CloudFront.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages