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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Migrate to programatic aws-cdk

sladg opened this issue · comments

commented

Once ready, we want to remove existing exec() child process implementation of CDK.

AWS announced @aws-cdk/cli-lib-alpha which adds programatic access, however, it's very simple at current stage and flags, env vars, etc. are not supported for now.

Once stable, use it.

See more: https://docs.aws.amazon.com/cdk/api/v2/docs/cli-lib-alpha-readme.html#deploy