Deploy Serverless Next.js to AWS with Terraform 1.1

Terraform for better or worse is frequently updated with new versions. Many of these introduce incompatibilities with previous versions that require manual rework of Terraform definitions as well as require updating the local or remote Terraform state. I originally developed a solution for deploying Next.js to AWS using Terraform version 0.12 and that has been … Continue reading Deploy Serverless Next.js to AWS with Terraform 1.1

Route 53 Cannot Find CloudFront Distribution

Problem You have create a CloudFront distribution with a custom domain name (such as yourdomain.com). Now if you try to link this distribution to your domain using Route 53, you get the following error message: `No AWS resource exists with the Alias Target that you specified.` Solution Try the following to solve this problem: Make … Continue reading Route 53 Cannot Find CloudFront Distribution