Skip to content

Commit fedab68

Browse files
authored
Merge pull request #1540 from buildkite/add_missing_scaler_params
Add scale-in/out cooldown params
2 parents 7a046e0 + a9c1a1f commit fedab68

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

templates/aws-stack.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,16 @@ Parameters:
222222
- "false"
223223
Default: "false"
224224

225+
ScaleOutCooldownPeriod:
226+
Description: Cooldown period in seconds before allowing another scale-out event
227+
Type: Number
228+
Default: 300
229+
230+
ScaleInCooldownPeriod:
231+
Description: Cooldown period in seconds before allowing another scale-in event
232+
Type: Number
233+
Default: 3600
234+
225235
LogRetentionDays:
226236
Type: Number
227237
Description: The number of days to retain the Cloudwatch Logs of the lambda.
@@ -1870,6 +1880,8 @@ Resources:
18701880
AgentAutoScaleGroup: !Ref AgentAutoScaleGroup
18711881
ScaleOutFactor: !Ref ScaleOutFactor
18721882
ScaleOutForWaitingJobs: !Ref ScaleOutForWaitingJobs
1883+
ScaleInCooldownPeriod: !Ref ScaleInCooldownPeriod
1884+
ScaleOutCooldownPeriod: !Ref ScaleOutCooldownPeriod
18731885
EventSchedulePeriod: !Ref ScalerEventSchedulePeriod
18741886
MinPollInterval: !Ref ScalerMinPollInterval
18751887
LogRetentionDays: !Ref LogRetentionDays

0 commit comments

Comments
 (0)