Open peermuellerxw opened 6 months ago
thanks for reporting this bug with nested stack metadata addition @peermuellerxw . I also see the same error msg as reported by you. Although I am looking for a workaround , suggested commented solution shared by you does not work for me. will share if I get any updates on other workaround.
Describe the bug
When I try to add metadata to a stack that is created with CfnInclude I get the following error:
This seems confusing as I was trying to add a different metadata key/value pair via cdk.
Expected Behavior
I expected the templates to synthesize and the nested stack to have all metadata values
Current Behavior
No template is synthesized
Reproduction Steps
The template:
The CDK app:
Possible Solution
Additional Information/Context
This only happens with nested stacks.
CDK CLI Version
2.131.0 (build 92b912d)
Framework Version
No response
Node.js Version
v20.10.0
OS
MacOs Sonoma
Language
TypeScript
Language Version
5.3.3
Other information
No response