File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1201,7 +1201,7 @@ Resources:
1201
1201
- " EC2 Instance-launch Lifecycle Action"
1202
1202
detail :
1203
1203
AutoScalingGroupName : [ !Ref AgentAutoScaleGroup ]
1204
- LifecycleHookName : [ BootHook ]
1204
+ LifecycleHookName : [ !Ref BootHook ]
1205
1205
Targets :
1206
1206
- Arn : !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:automation-definition/${BootHookAutomation}:$DEFAULT
1207
1207
RoleArn : !GetAtt EventBridgeRuleRole.Arn
@@ -1282,7 +1282,7 @@ Resources:
1282
1282
- " EC2 Instance-terminate Lifecycle Action"
1283
1283
detail :
1284
1284
AutoScalingGroupName : [ !Ref AgentAutoScaleGroup ]
1285
- LifecycleHookName : [ ShutdownHook ]
1285
+ LifecycleHookName : [ !Ref ShutdownHook ]
1286
1286
Targets :
1287
1287
- Arn : !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:automation-definition/${BootHookAutomation}:$DEFAULT
1288
1288
RoleArn : !GetAtt EventBridgeRuleRole.Arn
You can’t perform that action at this time.
0 commit comments