serverless-next.js icon indicating copy to clipboard operation
serverless-next.js copied to clipboard

in cdk, decouple custom domain name from route53

Open tommyvn opened this issue 4 years ago • 1 comments

I manage Route53 in a different CDK app, to enable me to switch DNS from one cdk app to another seamlessly, for example during re-development of a given app. Currently to enable this behaviour I must create a dummy route53 zone and pass that into the serverless nextjs cdk construct, so that I can manage that route53 record in my other cdk app, but this means I have a dummy route53 zone for every serverless nextjs app i have.

Could the route53 record setup be optional? maybe with a flag like configureRoute53 that defaults to true to keep current behavior?

tommyvn avatar Sep 27 '21 14:09 tommyvn

I need this as well, i have to manage my DNS outside of route53 due to enterprise requirements but will like to set the domain on cloudfront using this tool.

ryanoolala avatar Jun 02 '22 09:06 ryanoolala