antico5 / terraform_s3_frontend

Test infrastructure for provisioning S3 + CloudFront

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terraform Frontend Infrastructure Template

This project creates a basic infrastructure for a static site to be hosted in S3 and delivered via CloudFront.

Requirements

  1. a terraform.tfvars with 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

  1. run terraform init
  2. run terraform plan and review the plan
  3. run terraform apply

About

Test infrastructure for provisioning S3 + CloudFront


Languages

Language:HCL 96.4%Language:Shell 3.1%Language:HTML 0.5%