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

Specify lambda node runtime via cli #74

Closed bounds closed 1 year ago

bounds commented 1 year ago

What would be the best way to specify the lambda runtime?

Been building with 18 locally.

sladg commented 1 year ago

Good point 🤔

Give me sec, I will add a flag to CLI and make it configurable.

sladg commented 1 year ago

Done :) Use --lambdaRuntime flag on deploy command.

bounds commented 1 year ago

Thanks!