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

Consider sharing resources across stacks

sladg opened this issue · comments

commented

AWS is limiting number of:

  • cache policies,
  • cloudfronts.

Those are typical resources limitations experiences. Cloudfront is not really solvable as each one is unique. However, cache policies are same across stacks so those could be shared (aka. create once and import to stacks).

commented

Boostrap-like command would be needed for this.

commented

Image lambda could be also single one, would just need access to different buckets. Which can be handled on stack-level.