AWS::AutoScaling::AutoScalingGroup-InstanceProtection is not supported by CloudFormation yet it can be set via the console and the API.

It could be useful to be able to set it via CloudFormation.
In Create, I should be able to set the InstanceProtection attribute
AWS AutoScalingGroup documentation - Controlling Which Auto Scaling Instances Terminate During Scale In : https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
AWS EC2 API documentation - SetInstanceProtection : https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_SetInstanceProtection.html
Compute (EC2/AutoScalingGroup)
Can't agree more, this seems like a big miss on it.
It is a shame. I was working on creating CloudFormation templates for ECS clusters and kept finding missing features like this.
This feature was already requested in 2015 and is still not available after more than 5 years?
I hope with the new Capacity providers you will provide it.
It is a shame. I was working on creating CloudFormation templates for ECS clusters and kept finding missing features like this.
Agree the whole ecosystem around ECS seems pretty immature and full of design flaws, like Capacity providers and circular dependencies.
This seriously isn't fixed yet? With all the work that they've done with fixing up the ecs capacity provider support in cloudformation you still can't use them because of this. How can you even close #301 if this is open?
I think this has been resolved, but this thread not updated. There is a property for NewInstancesProtectedFromScaleIn available.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-newinstancesprotectedfromscalein
I think this has been resolved, but this thread not updated. There is a property for NewInstancesProtectedFromScaleIn available.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-newinstancesprotectedfromscalein
Awesome! Will be giving this thing a shot later
This has been addressed https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-newinstancesprotectedfromscalein. Closing this issue.
Most helpful comment
Can't agree more, this seems like a big miss on it.