AWS S3/CloudFront deployment def. for the Frontend Client, using Terraform
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
cloudfront.tf
provider.tf
route53.tf
s3.tf
terraform.tfvars.example
variables.tf

README.md

Mince Pie Challenge Client Infrastructure

📝 API - 🖥️ Client

This Terraform configuration demonstrates the following:

  • Sets up an Amazon S3 bucket to store the compiled web-client assets.
  • Configures another Amazon S3 endpoint to redirect www requests to non-www.
  • Places Amazon CloudFront in-between the client and S3 bucket requests, managing static asset caching and HTTPS termination.
  • Creates the required domain route records needed within Amazon Route 53.

Usage

Ensure that you have provided the necessary credentials within a terraform.tfvars file, based on terraform.tfvars.example.

$ terraform init
$ terraform apply