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

Support for Cloudfront Alternate Domain Names

pinarruiz opened this issue · comments

Adding an option like --alternateDomainNames where domain names will be fed in a comma separated manner, or reading multiple entries of the option.

As far as i know there is no way of doing this.

commented

Good point, currently it's possible only with extending CDK and altering the stack definition manually.
Will take a look at it, should be done within few days.

commented

This has been released in version 7.0.0.
Use --domainNames example.com,other.domain.com,extra.net in CLI command.