Skip to content

Show stack dependency tree #16080

@atennak1

Description

@atennak1

It would be great if the list command displayed dependencies between stacks, perhaps in a tree-like structure. We recently made the incorrect assumption that simply declaring a stack inside of another stack (without using cfn.NestedStack) would ensure correct deployment order. We could have used such a feature to validate that assumption.

Use Case

To verify that stack dependencies are correctly modeled.

Proposed Solution

if StackA has a dependency on StackB, it would show something like this:

.
└── StackA
    └── StackB
  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/largeLarge work item – several weeks of effortfeature-requestA feature should be added or improved.p2package/toolsRelated to AWS CDK Tools or CLI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions