This repository is a collection of IaC (Infrastructure as Code) using AWS CDK. There are three stacks:
- empty
- web_backend
- event_workers
Slides from presentation at BEW: https://github.com/tedpatrick/IaC-with-AWS-CDK/blob/main/SLIDES.pdf
- Node
- direnv
- Copy the
.envrc.examplefile to.envrc
cp .envrc.example .envrc-
Update the
.envrcfile with your AWS credentials -
Allow the
.envrcfile
direnv allow- CD into stack folder
cd empty
npm install- Bootstrap the CDK
npm run bootstrap- Deploy the stack
npm run deploy