Skip to content

Commit 5a23ec2

Browse files
committed
Make the terminate hook continue by default
1 parent bb40e70 commit 5a23ec2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/aws-stack.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,8 +1168,9 @@ Resources:
11681168
AutoScalingGroupName: !Ref AgentAutoScaleGroup
11691169
LifecycleHookName: ShutdownHook
11701170
LifecycleTransition: autoscaling:EC2_INSTANCE_TERMINATING
1171-
# We give instances one hour to respond to this hook else we abandon them
1171+
# We give instances one hour to respond to this hook else we continue
11721172
HeartbeatTimeout: 3600
1173+
DefaultResult: CONTINUE
11731174

11741175
ShutdownHookFunction:
11751176
Type: AWS::Lambda::Function

0 commit comments

Comments
 (0)