How to set up site redirects in CloudFront using Terraform?
If you need to set up a redirect for a domain to a subdomain and wonder how to do it in AWS, here is the answer. In my case, I wanted to redirect my apex domain (cntechy.com) to my blog subdomain (blog.cntechy.com). I also wanted https redirect and w...
blog.cntechy.com7 min read