The cdk.json file tells the CDK Toolkit how to execute your app.
- Install Node Version Manager (NVM) https://github.com/nvm-sh/nvm#installing-and-updating
- Select Node version 18
nvm install 18- Install packages in this repo. Use
npm, having issues withyarnand CDK.
npm install- Install
aws-cdkandaws-cdk-localCLI
npm install -g aws-cdk
npm install -g aws-cdk-local
npm install aws-cdk-lib constructs- Bootstrap the CDK project for LocalStack
cdklocal bootstrap aws://000000000000/us-east-1- Deploy CDK project to LocalStack
cdklocal deploynpm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testscdk deploydeploy this stack to your default AWS account/regioncdk diffcompare deployed stack with current statecdk synthemits the synthesized CloudFormation template