aws-cdk-lib/core: cfn-parse cannot parse CfnInclude template #32454
Labels
@aws-cdk/cloudformation-include
Issues related to the "CFN include v.20" package
bug
This issue is a bug.
p0
potential-regression
Marking this issue as a potential regression to be checked by team member
Describe the bug
We have a cloudformation template for autoscaling that we import into our CDK stack with
CfnInclude
.I believe that #32321 that was released in
[email protected]
last week broke the parsing of this template, because we now get an error when we synthesize this stack. In[email protected]
, the synthesization works without any errors thrown.Regression Issue
Last Known Working CDK Version
2.171.0
Expected Behavior
The stack synthesization is successful and runs without errors.
Current Behavior
The stack synthesization fails with:
Reproduction Steps
Given the following code:
template.yaml
app.ts
Run:
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.172.0 (build 0f666c5)
Framework Version
No response
Node.js Version
v22.10.0
OS
macOS 15.1.1 (24B91)
Language
TypeScript
Language Version
TypeScript (5.7.2)
Other information
No response
The text was updated successfully, but these errors were encountered: