Create a CloudFront distribution with Terraform (AWS)

In this story, we will create a CloudFront distribution of a S3-hosted website.

Defining specifications

The alert will have the following features :

  • Domain name: this is the endpoint of the S3 hosting the website;
  • ID for the origin : mywonderfulwebsite;
  • Listening ports: 80 for HTTP, 443 for HTTPS;
  • Origin protocol policy to be applied: http-only;
  • TLS protocols used by…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Bruno Delb

Bruno Delb

Blockchains, DevOps, Agile Coaching, development, testing, Cloud, Management 3.0, ITIL. It defines me.