Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 661 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 661 Bytes

devOps

How to create Cloudfront from scratch via terraform?
Install terraform
Download link : https://www.terraform.io/downloads.html
Configure aws CLI
Create cloudfront.tf file
Create variable.tf file
both above mention files are present with repo.

It includes custom_header which is useful in allow cross origin. It helps in solving CORS issue Example: custom_header = { name = "Access-Control-Allow-Origin" value = "*" }