Skip to content

There is already a Construct with name XYZ - allow for Stacks #4339

@konstantinj

Description

@konstantinj

We're having equally named stacks across accounts/regions. Currently it's not possible to define all of those stacks in the same app since the logical id which is used for the stack name duplicates: There is already a Construct with name 'XYZ' in cdk.App

Proposed Solution

Introduce a new name property for stacks that can be used. If it's undefined still use the id.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions