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 @@ -1190,7 +1190,7 @@ Resources:
1190
1190
detail-type :
1191
1191
- " EC2 Instance-launch Lifecycle Action"
1192
1192
detail :
1193
- AutoScalingGroupName : !Ref AgentAutoScaleGroup
1193
+ AutoScalingGroupName : [ !Ref AgentAutoScaleGroup ]
1194
1194
Targets :
1195
1195
- Arn : !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:automation-definition/${BootHookAutomation}:$DEFAULT
1196
1196
RoleArn : !GetAtt EventBridgeRuleRole.Arn
@@ -1258,7 +1258,7 @@ Resources:
1258
1258
detail-type :
1259
1259
- " EC2 Instance-terminate Lifecycle Action"
1260
1260
detail :
1261
- AutoScalingGroupName : !Ref AgentAutoScaleGroup
1261
+ AutoScalingGroupName : [ !Ref AgentAutoScaleGroup ]
1262
1262
Targets :
1263
1263
- Arn : !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:automation-definition/${BootHookAutomation}:$DEFAULT
1264
1264
RoleArn : !GetAtt EventBridgeRuleRole.Arn
You can’t perform that action at this time.
0 commit comments