Website
Next.js
A Next.js website hosted on AWS utilizing OpenNext architecture.
About
This is an opinated way to launch a Next.js based website on AWS.
This architecture is based on utilizing OpenNext for generation of the site bundles. Refer to OpenNext for more information on what Next.js features it supports.
Installation
1
Copy and paste all code files above into a folder.
Copy the main.tf, variables.tf, outputs.tf, versions.tf, and README.md into a folder (ex. website).
2
Reference the new module as a local or remote module.
Usage
The options available to can be seen in the variables.tf file as well as in the Next.js module README.
Was this page helpful?