Skip to content

Commit 9737689

Browse files
authored
Merge branch 'main' into SUP-4519/Adding-artifcats-bucket-env-var
2 parents e90ff50 + 68b755d commit 9737689

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

templates/aws-stack.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ Metadata:
115115
- MinSize
116116
- MaxSize
117117
- InstanceBuffer
118+
- OnDemandBaseCapacity
118119
- OnDemandPercentage
119120
- SpotAllocationStrategy
120121
- ScaleOutFactor
@@ -493,6 +494,12 @@ Parameters:
493494
Type: String
494495
Default: "10s"
495496

497+
OnDemandBaseCapacity:
498+
Description: Specify how much On-Demand capacity the Auto Scaling group should have for its base portion before scaling by percentages. The maximum group size will be increased (but not decreased) to this value.
499+
Type: Number
500+
Default: 0
501+
MinValue: 0
502+
496503
OnDemandPercentage:
497504
Description: Percentage of total instances that should launch as OnDemand. Default is 100% OnDemand - reduce this to use some Spot Instances when they're available and cheaper than the OnDemand price. A value of 70 means 70% OnDemand and 30% Spot Instances.
498505
Type: Number
@@ -1749,6 +1756,7 @@ Resources:
17491756
VPCZoneIdentifier: !If [ "CreateVpcResources", [ !Ref Subnet0, !Ref Subnet1 ], !Ref Subnets ]
17501757
MixedInstancesPolicy:
17511758
InstancesDistribution:
1759+
OnDemandBaseCapacity: !Ref OnDemandBaseCapacity
17521760
OnDemandPercentageAboveBaseCapacity: !Ref OnDemandPercentage
17531761
SpotAllocationStrategy: !Ref SpotAllocationStrategy
17541762
LaunchTemplate:

0 commit comments

Comments
 (0)