Skip to content

Commit 819f9be

Browse files
committed
Allow DisableScaleIn to be configured from Stack
1 parent 9e984b5 commit 819f9be

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

templates/aws-stack.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,14 @@ Parameters:
237237
- "false"
238238
Default: "false"
239239

240+
DisableScaleIn:
241+
Description: Whether the desired count should ever be decreased on the Auto Scaling group. When set to "true" (default), the scaler will not reduce the Auto Scaling group's desired capacity, and instances are expected to self-terminate when idle.
242+
Type: String
243+
AllowedValues:
244+
- "true"
245+
- "false"
246+
Default: "true"
247+
240248
EnableScheduledScaling:
241249
Description: Enable scheduled scaling to automatically adjust MinSize based on time-based schedules
242250
Type: String
@@ -2323,3 +2331,4 @@ Resources:
23232331
MinPollInterval: !Ref ScalerMinPollInterval
23242332
LogRetentionDays: !Ref LogRetentionDays
23252333
EnableElasticCIMode: !Ref ScalerEnableExperimentalElasticCIMode
2334+
DisableScaleIn: !Ref DisableScaleIn

0 commit comments

Comments
 (0)