diff --git a/.github/spot-runner-action/dist/index.js b/.github/spot-runner-action/dist/index.js index 76535852540..d50843ad54d 100644 --- a/.github/spot-runner-action/dist/index.js +++ b/.github/spot-runner-action/dist/index.js @@ -320,7 +320,7 @@ class Ec2Instance { LaunchTemplateConfigs: [fleetLaunchConfig], ClientToken: this.config.clientToken || undefined, SpotOptions: { - AllocationStrategy: "price-capacity-optimized", + AllocationStrategy: "capacity-optimized", }, TargetCapacitySpecification: { TotalTargetCapacity: 1, diff --git a/.github/spot-runner-action/src/ec2.ts b/.github/spot-runner-action/src/ec2.ts index 42d4f922349..ff82e6cc01c 100644 --- a/.github/spot-runner-action/src/ec2.ts +++ b/.github/spot-runner-action/src/ec2.ts @@ -239,7 +239,7 @@ export class Ec2Instance { LaunchTemplateConfigs: [fleetLaunchConfig], ClientToken: this.config.clientToken || undefined, SpotOptions: { - AllocationStrategy: "price-capacity-optimized", + AllocationStrategy: "capacity-optimized", }, TargetCapacitySpecification: { TotalTargetCapacity: 1,