Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 679 Bytes

File metadata and controls

13 lines (7 loc) · 679 Bytes

Route53 Domain Redirect

Diagram

This Terraform module works together with AWS Route53, S3, ACM and CloudFront to create permanent redirect of a domain to a target URL.

Both www and apex A records are created and pointed to a CloudFront distribution. The distribution accepts HTTP and HTTPS connections (free autorenewing ACM certificate is used for HTTPS). The origin for CloudFront distribution is a S3 hosted website with redirect-all rule. This solution is cheap and maintenance free.

Requirements: DNS Zone in Route53

To Deploy

Please review our Contributing docs for the review and release process.