This is a blank project for CDK development with TypeScript.
The cdk.json file tells the CDK Toolkit how to execute your app.
Follow this guide to install the AWS CLI.
npm install -g aws-cdk@latest
Sign into your AWS IAM account on the AWS console and follow this guide to create an access key. Make sure you download the csv as you will only see the credentials once.
Run the following command in your terminal to create an aws profile.
aws configure --profile worldcup
First install the node packages in the root of the package.
npm install
Next install the packages in the src dir
cd src/
npm installIn order to test the system you can deploy a personal version of the stack to the AWS account which should replicate the one deployed in production.
npm run build
This will also lint the code and fix any issues
cdk synth
This step may require docker. If it does and this is a problem then we can move to a system where we use zip files as code artifacts rather than docker images.
cdk deploy --profile worldcup
Once your stack is deployed you should be able to go to cloudformation in the AWS console and view your personal stack. This should contain all the same resources as the production stack.