This repo is a GitHub Template that you can clone into your own GitHub account that provides a sensible workspace for quickly bootstrapping, testing and deploying infrastructure with AWS Cloud Development Kit (CDK) with TypeScript.
The workspace uses AWS CDK v2 and includes the base aws-cdk-lib
and all the @aws-cdk/{module}-alpha
packages.
This repository contains a cli script to quickly reset a repo that is cloned from the template and prepare it to be deployed to AWS. The script assumes that you have Node.js v16.14.0, yarn v1.22.17, AWS CDK v2, AWS CLI v2 and git available in your workspace. If you do not, a step-by-step installation and explanation is available in the next section. If you do:
yarn install
yarn bootstrap
cdk bootstrap # if you have not bootstrapped your CDK env yet
git commit -m "Bootstraped template repo"
git push origin
cdk deploy