File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
lambdas/functions/control-plane/src/aws Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1- import { DefaultTargetCapacityType , FleetOnDemandAllocationStrategy , SpotAllocationStrategy } from '@aws-sdk/client-ec2' ;
1+ import {
2+ DefaultTargetCapacityType ,
3+ FleetOnDemandAllocationStrategy ,
4+ SpotAllocationStrategy ,
5+ } from '@aws-sdk/client-ec2' ;
26
37export type RunnerType = 'Org' | 'Repo' ;
48
Original file line number Diff line number Diff line change @@ -287,14 +287,14 @@ async function createInstances(
287287 ? {
288288 SpotOptions : {
289289 MaxTotalPrice : runnerParameters . ec2instanceCriteria . maxSpotPrice ,
290- AllocationStrategy :
291- runnerParameters . ec2instanceCriteria . instanceAllocationStrategy as SpotAllocationStrategy ,
290+ AllocationStrategy : runnerParameters . ec2instanceCriteria
291+ . instanceAllocationStrategy as SpotAllocationStrategy ,
292292 } ,
293293 }
294294 : {
295295 OnDemandOptions : {
296- AllocationStrategy :
297- runnerParameters . ec2instanceCriteria . instanceAllocationStrategy as FleetOnDemandAllocationStrategy ,
296+ AllocationStrategy : runnerParameters . ec2instanceCriteria
297+ . instanceAllocationStrategy as FleetOnDemandAllocationStrategy ,
298298 } ,
299299 } ) ,
300300 TargetCapacitySpecification : {
You can’t perform that action at this time.
0 commit comments