Skip to content

Commit e1c5f8b

Browse files
authored
Merge pull request #923 from buildkite/keithduncan/enable-scale-in-protection
Add NewInstancesProtectedFromScaleIn: true to the ASG
2 parents 5c64f61 + 178c253 commit e1c5f8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/aws-stack.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,6 +1044,7 @@ Resources:
10441044
TerminationPolicies:
10451045
- OldestLaunchConfiguration
10461046
- ClosestToNextInstanceHour
1047+
NewInstancesProtectedFromScaleIn: true
10471048
CreationPolicy:
10481049
ResourceSignal:
10491050
Timeout: !If [ UseDefaultInstanceCreationTimeout, !If [ UseWindowsAgents, PT10M, PT5M ], !Ref InstanceCreationTimeout ]

0 commit comments

Comments
 (0)