Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 68d3445

Browse files
authored
fix(runners): Pass allocation strategy (#2345)
1 parent d4b7650 commit 68d3445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: modules/runners/lambdas/runners/src/aws/runners.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export async function createRunner(runnerParameters: RunnerInputParameters): Pro
148148
],
149149
SpotOptions: {
150150
MaxTotalPrice: runnerParameters.ec2instanceCriteria.maxSpotPrice,
151-
AllocationStrategy: 'capacity-optimized',
151+
AllocationStrategy: runnerParameters.ec2instanceCriteria.instanceAllocationStrategy,
152152
},
153153
TargetCapacitySpecification: {
154154
TotalTargetCapacity: numberOfRunners,

0 commit comments

Comments
 (0)