aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap
AWS::AutoScaling::AutoScalingGroup - MixedInstancesPolicy.Overrides.WeightedCapacity
- Dominant language
- No language data
- Stars
- 1.1k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
## 2. Scope of request
In CloudFormation, I should be able to define per-instance-type WeightedCapacity overrides that allow me to take advantage of the recently announced [instance-weighting feature](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-weighting.html). To align with the API, this should be specified in CloudFormation as a property of a [LaunchTemplateOverride](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_LaunchTemplateOverrides.html).
## 3. Expected behavior
On Create or update, CloudFormation should perform an AutoScaling API call that includes the WeightedCapacity for each LaunchTemplateOverride specified in the AutoScalingGropup's MixedInstancesPolicy.LaunchTemplate.Overrides list.
## 4. Suggest specific test cases
N/A
## 5. Helpful Links to speed up research and evaluation
- [EC2 AutoScaling documentation for instance weighting](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-weighting.html)
- [API reference defining the WeightedCapacity property of a LaunchTemplateOverride](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_LaunchTemplateOverrides.html)
- [CloudFormation documentation where the WeightedCapacity parameter should appear](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html)
## 6. Category (required) - Will help with tagging and be easier to find by other users to +1
Compute.
Contributor guide
Assessment
This issue has not been assessed yet.