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.example
file to.envrc
cp .envrc.example .envrc
-
Update the
.envrc
file with your AWS credentials -
Allow the
.envrc
file
direnv allow
- CD into stack folder
cd empty
npm install
- Bootstrap the CDK
npm run bootstrap
- Deploy the stack
npm run deploy