Terraform module for building and deploying Next.js apps to AWS. Supports SSR (Lambda), Static (S3) and API (Lambda) pages.
The Terraform Next.js module for AWS is a zero-config Terraform module designed for self-hosting Next.js sites serverless on AWS Lambda. This module supports various features like unlimited parallel deployments of Next.js apps, support for different types of pages (static, SSG, Lambda, and API pages), automatic expiration of old static assets, rewrites & redirects, and image optimization support.
Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.
TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.