Skip to content

Commit

Permalink
fix(runners): Pass allocation strategy (philips-labs#2345)
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus authored Aug 17, 2022
1 parent d4b7650 commit 68d3445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/runners/lambdas/runners/src/aws/runners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export async function createRunner(runnerParameters: RunnerInputParameters): Pro
],
SpotOptions: {
MaxTotalPrice: runnerParameters.ec2instanceCriteria.maxSpotPrice,
AllocationStrategy: 'capacity-optimized',
AllocationStrategy: runnerParameters.ec2instanceCriteria.instanceAllocationStrategy,
},
TargetCapacitySpecification: {
TotalTargetCapacity: numberOfRunners,
Expand Down

0 comments on commit 68d3445

Please sign in to comment.