The cdk.json
file tells the CDK Toolkit how to execute your app.
.bin
contains the entry point that orchestrates everythinglib
contains the stackstest
contains tests
- Open repository in VS Code
- Install recommended extensions
- Install graphviz
- Copy
.env.template
to.env
and fill in the values - Ensure the "Run and Debug" configuration in VS Code is set to "Deploy AWS" and hit F5
Ensure the "Run and Debug" configuration in VS Code is set to "Generate AWS Diagram" and hit F5, or execute npm run graph:local
.
npm run build
- Compile TypeScript to JavaScript and prepare for standalone deployment artifact inbuild
foldernpm run deploy:local
- Deploy this stack using the values in.env
npm run deploy
- Deploy this stack on a CI server, pulling values from the environmentnpm run diff:local
- Compare deployed stack with current state using the values in.env
npm run diff
- Compare deployed stack with current state on a CI server, pulling values from the environmentnpm run destroy:local
- Deletes all deployed stacks using the values in.env