(nested-stack): impossible to manually set Nested Stack Name #19371
Labels
@aws-cdk/aws-cloudformation
Related to AWS CloudFormation
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Description
I want to be able to manually set the name of a NestedStack but currently there is no way to do so.
Use Case
I'm migrating my infrastructure from Amplify over to CDK and my strategy for refactoring the management of the resources is to maintain the stack/resource names when I recreate them in CDK.
All of the other resources (i.e. root stack, Cognito, Dynamodb, etc) haven't been an issue, but nested stack seems to be the only thing we can't manually set the name on.
It seems weird that we can define stack names for root stack but not for nested stacks.
Proposed Solution
introduce stack name as a parameter for NestedStackProps similar to how it's done for normal Cloudformation Stacks
Other information
No response
Acknowledge
The text was updated successfully, but these errors were encountered: