Hotswap: Evaluate cloudformation template doesn't look at multi-nested stacks #28077
Labels
@aws-cdk/aws-cloudformation
Related to AWS CloudFormation
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
p0
Describe the bug
This line here doesn't actually finds the nested stack in the tree but only at the top level which causes references made to second (or more) level nested stacks return undefined. This causes hotswap to fail
Expected Behavior
Correctly evaluate the cloudformation template for hotswap when the attribute references is in second level nested stack
Current Behavior
This line here doesn't actually finds the nested stack in the tree but only at the top level
Reproduction Steps
Have a two tiered nested stack where any resource relies on an attribute (such as
output
) of second level nested stack. Perform hotswap.Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.110.0
Framework Version
No response
Node.js Version
18.17.0
OS
Macos
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: