(Core): unexpected logical id change for CdkJsonStringify when order of stack changed #31345
Labels
@aws-cdk/core
Related to core CDK functionality
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p1
Describe the bug
The logical id of a
CdkJsonStringify
will change for different stacks, when the order of stacks will change.Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
Order of stack shouldn't change the logical id.
Current Behavior
The logical id in
CdkJsonStringify<id>
is stack order dependend.Reproduction Steps
Synth the following app twice:
Python app
DEFAULT=true
DEFAULT=false
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.156.0 (build 2966832)
Framework Version
No response
Node.js Version
v20.17.0
OS
macOS 14.6.1
Language
Python
Language Version
3.12.5
Other information
No response
The text was updated successfully, but these errors were encountered: