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.
Type Name Latest commit message Commit time
Failed to load latest commit information.

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.


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

$ terraform init
$ terraform apply