Skip to content
This repository has been archived by the owner on Aug 6, 2022. It is now read-only.

Latest commit

 

History

History
20 lines (14 loc) · 867 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 867 Bytes

Parallel CDK Stacks Demo

Blog post

Key files / functions

  • stackDeps.js - parses the cdk.out/manifest.json and returns our stacks
  • generateStackGraphs.js - uses stackDeps.js and cdk synth to generate the graph.json
  • graph.json - the generated graph from our npx projen generate:stack-graphs task
  • graphDeploy.js - custom projen deploy workflow that generates the deploy.yml for the project. We take the graph from generated/graph.json and create a workflow based on the dependencies.

Run it yourself

# Generate the stack graphs first
npx projen generate:stack-graphs # custom task in .projenrc.js

# Then run projen default to create the workflow
npx projen