Terraform Frontend Infrastructure Template
This project creates a basic infrastructure for a static site to be hosted in S3 and delivered via CloudFront.
Requirements
- a
terraform.tfvarswith the values to:
project_key = "terraform-frontend-tutorial"
aws_access_key = "XXXXXXXXXX"
aws_secret_key = "XXXXXXXXXX"
aws_region = "ca-central-1"
s3_bucket_name = "xx.xyz.com"
s3_bucket_env = "development"
domain = "xyz.com"
subdomain = "xx"
hosted_zone = "domain.com"
Getting Started
- run
terraform init - run
terraform planand review the plan - run
terraform apply
On this page
Contributors
Created September 9, 2019
Updated September 9, 2019