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

Commit 4eb3b16

Browse files
authored
fix(runner): Adds InsufficientInstanceCapacity to list of scaling errors (#2926)
fix: Adds InsufficientInstanceCapacity to list of scaling errors See-Also: philips-labs/terraform-aws-github-runner#2925
1 parent b8898ef commit 4eb3b16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ export async function createRunner(runnerParameters: RunnerInputParameters): Pro
243243
'ResourceLimitExceeded',
244244
'MaxSpotInstanceCountExceeded',
245245
'MaxSpotFleetRequestCountExceeded',
246+
'InsufficientInstanceCapacity',
246247
];
247248

248249
if (errors.some((e) => scaleErrors.includes(e))) {

0 commit comments

Comments
 (0)