Skip to content

Commit c1b4421

Browse files
committed
Make the windows ssm start command timeout 10 minutes
1 parent d839604 commit c1b4421

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/aws-stack.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ Resources:
11891189
LifecycleTransition: autoscaling:EC2_INSTANCE_LAUNCHING
11901190
# We give instances five minutes to respond to this hook else we abandon
11911191
# them
1192-
HeartbeatTimeout: 300
1192+
HeartbeatTimeout: !If [ UseLinuxAgents, 300, 600 ]
11931193

11941194
BootHookRule:
11951195
Type: AWS::Events::Rule
@@ -1249,7 +1249,7 @@ Resources:
12491249
InstanceIds:
12501250
- "{{ InstanceId }}"
12511251
Parameters:
1252-
executionTimeout: "300"
1252+
executionTimeout: "600"
12531253
commands:
12541254
- nssm start buildkite-agent
12551255
- name: CompleteLifecycleAction

0 commit comments

Comments
 (0)