You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once you create a stack containing a AWS::AutoScaling::AutoScalingGroup and the property DefaultInstanceWarmup is set in CloudFormation template, the CloudFormation drift detection reporting such stack as drifted - Even the DefaultInstanceWarmup is set correctly on the created ASG (details see "Observed Behavior").
Expected Behavior
Stack is in state IN_SYNC, since template and resource have the same, correct setting.
If you set DefaultInstanceWarmup in your CFN template (e.g. to 500), your stack / this resource is in state DRIFTED after running CFN Drift detection - Details see: "Test Case".
Test Cases
** Create new Stack using following example (please mind to adjust LaunchTemplateId + VPCZoneIdentifier fitting your account) in eu-central-1
** After stack is created, please check your ASG resource in Console for DefaultInstanceWarmup (EC2 -> Auto Scaling Groups -> Click on your ASG -> Go down to "Advanced configurations" -> "Default instance warmup") - Here in the example it's set to 500 Sec correctly.
** Go to CFN Console and run CFN Drift detection via: (in Console using "Stack actions" => "Detect drift". After you triggered this process, please wait for ca. 1 min and check again the Drift status: Stack went in state DRIFTED. Check the Drift-Details - You will the Drift for DefaultInstanceWarmup property.
Name of the resource
AWS::AutoScaling::AutoScalingGroup
Resource Name
No response
Issue Description
Once you create a stack containing a
AWS::AutoScaling::AutoScalingGroup
and the propertyDefaultInstanceWarmup
is set in CloudFormation template, the CloudFormation drift detection reporting such stack as drifted - Even the DefaultInstanceWarmup is set correctly on the created ASG (details see "Observed Behavior").Expected Behavior
Stack is in state IN_SYNC, since template and resource have the same, correct setting.
Observed Behavior
Following CloudFormation documentation the setting
DefaultInstanceWarmup
is supported. Furthermore CDK also added support for this property recently aws/aws-cdk#23285 + aws/aws-cdk#23180.If you set
DefaultInstanceWarmup
in your CFN template (e.g. to500
), your stack / this resource is in state DRIFTED after running CFN Drift detection - Details see: "Test Case".Test Cases
** Create new Stack using following example (please mind to adjust LaunchTemplateId + VPCZoneIdentifier fitting your account) in eu-central-1
** After stack is created, please check your ASG resource in Console for DefaultInstanceWarmup (EC2 -> Auto Scaling Groups -> Click on your ASG -> Go down to "Advanced configurations" -> "Default instance warmup") - Here in the example it's set to 500 Sec correctly.
** Go to CFN Console and run CFN Drift detection via: (in Console using "Stack actions" => "Detect drift". After you triggered this process, please wait for ca. 1 min and check again the Drift status: Stack went in state DRIFTED. Check the Drift-Details - You will the Drift for DefaultInstanceWarmup property.
Other Details
The text was updated successfully, but these errors were encountered: