{"repo":"cloudposse/terraform-aws-cloudfront-s3-cdn","free":true,"listed":false,"github":"https://github.com/cloudposse/terraform-aws-cloudfront-s3-cdn","clone":"git clone https://github.com/cloudposse/terraform-aws-cloudfront-s3-cdn.git","description":"Terraform module to easily provision CloudFront CDN backed by an S3 origin","language":"HCL","stars":286,"topics":["terraform","terraform-module","cloudfront","aws","cloudfront-logs","s3","cdn","hcl2"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Terraform module to provision an AWS CloudFront CDN with an S3 origin. [!TIP] #### 👽 Use Atmos with Terraform Cloud Posse uses atmos to easily orchestrate multiple environments using Terraform. Works with Github Actions, Atlantis, or Spacelift. Watch demo of using Atmos with Terraform Example of running atmos to manage infrastructure from our Quick Start tutorial. Usage For a complete example, see examples/complete. For automated tests of the complete example using bats and Terratest (which tests and deploys the example on AWS), see test. The following will create a new s3 bucket eg-prod-app for a cloudfront cdn, and allow principal1 to upload to prefix1 and prefix2 , while allowing principal2 to manage the whole bucket. The following will reuse an existing s3 bucket eg-prod-app for a cloudfront cdn. The following will create an Origin Group with the origin created by this module as a primary origin and an additional S3 bucket as a failover origin. Background on CDNs, \"Origins\", S3 Buckets, and Web Servers CDNs and Origin Servers There are some settings you need to be aware of when using this module. In order to understand the settings, you need to understand some of the basics of CDNs and web servers, so we are providing this highly simplified explanation of how they work in order for you to understand the implications of the settings you are providing. A \" CDN \" (Content Distribution Network) is a collection of servers scattered around the internet with the aim of making i","default_branch":null,"files":null,"tree":[],"storefront":"/r/cloudposse","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cloudposse/terraform-aws-cloudfront-s3-cdn/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}