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

Commit

Permalink
fix(runner): Adds InsufficientInstanceCapacity to list of scaling err…
Browse files Browse the repository at this point in the history
…ors (#2926)

fix: Adds InsufficientInstanceCapacity to list of scaling errors

See-Also: philips-labs/terraform-aws-github-runner#2925
  • Loading branch information
tcsc authored Feb 10, 2023
1 parent b8898ef commit 4eb3b16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/runners/lambdas/runners/src/aws/runners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ export async function createRunner(runnerParameters: RunnerInputParameters): Pro
'ResourceLimitExceeded',
'MaxSpotInstanceCountExceeded',
'MaxSpotFleetRequestCountExceeded',
'InsufficientInstanceCapacity',
];

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

0 comments on commit 4eb3b16

Please sign in to comment.