(CfnInclude): CfnInclude omits aws_autoscaling. UpdatePolicy that dont exists in the CDK (MinActiveInstancesPercent) #33810
Labels
@aws-cdk/cloudformation-include
Issues related to the "CFN include v.20" package
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p1
Describe the bug
When CfnInclude references a template that has an UpdatePolicy for autoscaling groups it silently omits the MinActiveInstancesPercent property because the code in cfn-parse.ts does not include the property:
The result is that the property is omitted completely and silently :(
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
MinActiveInstancesPercent should be included in the output template
Current Behavior
The result is that the property is omitted completely and silently :(
Reproduction Steps
Create a CFN template with an autoscaling group and an update policy which includes MinActiveInstancesPercent, reference the template file using
CfnInclude
, theMinActiveInstancesPercent
will not exist in the template in cdk.outPossible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.1003.0
Framework Version
2.132.0
Node.js Version
18
OS
MacOs
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: