Using CloudFormation with NextJS
I've been recently looking into using AWS CDK / Cloud Formation (still a bit confused?).
However to create a Stack it seems you need to use CDK to synthesise a CF Template which you can then
cdk deploy
.
So my question(s) is:
How can I use CDK / CF Templates with NextJS, should I use the cdk init
to create a new ts-app, synthesize and place the template in my NextJS project?
SHOULD I even use CF, I'm trying to make easy setup for my App which uses several AWS Services (S3, CloudFront, SNS/SES, etc...) so that I can get kind of an overview to collaborators which services I use, along with easy to set up on other AWS accounts if ever needed.
I tried to look up information on this, but NextJS is kind of special in the sense it doesn't really have an entry point? And specific information on this topic seems to be non existant or really hard to come by, so if anyone has any experience with this who could help out, it would be much appreciated!0 Replies