File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -1119,16 +1119,6 @@ Resources:
1119
1119
ScaleOutForWaitingJobs : !Ref ScaleOutForWaitingJobs
1120
1120
DisableScaleIn : " false"
1121
1121
1122
- BootHook :
1123
- Type : AWS::AutoScaling::LifecycleHook
1124
- Properties :
1125
- AutoScalingGroupName : !Ref AgentAutoScaleGroup
1126
- LifecycleHookName : BootHook
1127
- LifecycleTransition : autoscaling:EC2_INSTANCE_LAUNCHING
1128
- # We give instances five minutes to respond to this hook else we abandon
1129
- # them
1130
- HeartbeatTimeout : 300
1131
-
1132
1122
AutomationRole :
1133
1123
Type : AWS::IAM::Role
1134
1124
Properties :
@@ -1157,6 +1147,16 @@ Resources:
1157
1147
Action : autoscaling:CompleteLifecycleAction
1158
1148
Resource : !Sub arn:${AWS::Partition}:autoscaling:${AWS::Region}:${AWS::AccountId}:autoScalingGroup:*:autoScalingGroupName/${AWS::StackName}-AgentAutoScaleGroup-*
1159
1149
1150
+ BootHook :
1151
+ Type : AWS::AutoScaling::LifecycleHook
1152
+ Properties :
1153
+ AutoScalingGroupName : !Ref AgentAutoScaleGroup
1154
+ LifecycleHookName : BootHook
1155
+ LifecycleTransition : autoscaling:EC2_INSTANCE_LAUNCHING
1156
+ # We give instances five minutes to respond to this hook else we abandon
1157
+ # them
1158
+ HeartbeatTimeout : 300
1159
+
1160
1160
BootHookAutomation :
1161
1161
Type : AWS::SSM::Document
1162
1162
Properties :
You can’t perform that action at this time.
0 commit comments