Skip to content

Commit d839604

Browse files
committed
Fix reference to the shutdown hook from the shutdown rule
1 parent 8ae7f15 commit d839604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/aws-stack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ Resources:
12851285
AutoScalingGroupName: [ !Ref AgentAutoScaleGroup ]
12861286
LifecycleHookName: [ !Ref ShutdownHook ]
12871287
Targets:
1288-
- Arn: !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:automation-definition/${BootHookAutomation}:$DEFAULT
1288+
- Arn: !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:automation-definition/${ShutdownHookAutomation}:$DEFAULT
12891289
RoleArn: !GetAtt EventBridgeRuleRole.Arn
12901290
Id: TargetSsmAutomation
12911291
InputTransformer:

0 commit comments

Comments
 (0)