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

Specify Profile for CDK to use

bounds opened this issue · comments

Hoping there would be a deploy flag for choosing an AWS profile from ~/.aws/credentials

Bit of a pain to modify [profile.default]to get this going.

Maybe there's a better way?

commented

I would suggest giving a shot to https://www.npmjs.com/package/aws-profile-switcher :)

But CDK already has a flag you can forward!

Alright I'll figure it out thanks!

Opened PR #77

commented

Merged, closing, thank you for PR!