renanwilliam / cdk-reuse-stack-example

Example how reuse root stacks created in CDK in others CDK apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example for reuse of root stack created using AWS CDK in another apps

See more details at my StackOverflow qustion

First at all, it's important mention that I'm not using CDK as usual. Instead, I'm creating resources on-the-fly programatically. So, basically, I have a multi-tenant application that on onboard it's created a customer root stack, that will be included nested stacks with resources during the customer lifetime.

I have read this documentation but can't figure out how do that. I need to referente a parent existing stack (created by other app, in other moment, in other code base) to a new NestedStack.

This repository have the solution for my problem, reading CloudFormation templates using AWS SDK and mixing with CDK classes.

About

Example how reuse root stacks created in CDK in others CDK apps


Languages

Language:TypeScript 98.9%Language:Shell 1.1%