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

Stedi-Public-Archive/parallel-stacks-demo

Repository files navigation

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

About

Demo for cdk graph parallel deploys

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published