https://github.com/eddmann/mince-pie-challenge-client-terraform
AWS S3/CloudFront deployment def. for the Frontend Client, using Terraform
https://github.com/eddmann/mince-pie-challenge-client-terraform
Last synced: 5 months ago
JSON representation
AWS S3/CloudFront deployment def. for the Frontend Client, using Terraform
- Host: GitHub
- URL: https://github.com/eddmann/mince-pie-challenge-client-terraform
- Owner: eddmann
- Created: 2018-01-08T21:38:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-13T14:50:10.000Z (over 8 years ago)
- Last Synced: 2025-06-03T11:15:32.989Z (about 1 year ago)
- Language: HCL
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mince Pie Challenge Client Infrastructure
📝 [API](https://github.com/eddmann/mince-pie-challenge-api-serverless) - 🖥️ [Client](https://github.com/eddmann/mince-pie-challenge-client)
This [Terraform](https://www.terraform.io/) configuration demonstrates the following:
- Sets up an [Amazon S3](https://aws.amazon.com/s3/) bucket to store the compiled web-client assets.
- Configures another Amazon S3 endpoint to redirect `www` requests to `non-www`.
- Places [Amazon CloudFront](https://aws.amazon.com/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](https://aws.amazon.com/route53/).
## Usage
Ensure that you have provided the necessary credentials within a `terraform.tfvars` file, based on ` terraform.tfvars.example`.
```
$ terraform init
$ terraform apply
```