Bash script to build serverless component for deploying to AWS using Terraform
npm install ns-build
1. Add the output: 'standalone' option on the next.config.js configuration
2. Run ns-build build
3. Use the nextjs-serverless terraform module to deploy your next.js app on aws
- Next.js
- Terraform
- AWS
- Serverless