sladg / nextjs-lambda

Lambda deployments for Nextjs12 & Nextjs13 (standalone). Easy CLI commands to get your standalone Next output to run in AWS Lambda (not @Edge)! Uses CDK in behind and produces code zips importable to Terraform, Serverless, Azure, etc.
MIT License
169 stars 19 forks source link

Add region as CLI flag #68

Closed sladg closed 1 year ago

sladg commented 1 year ago

For safety while deploying, it's reasonable to pass region as part of the command instead of relying on env vars on given operating system.

This CLI parameter should be passed to CDK command and used for deployment.