We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3646253 commit ccf17eaCopy full SHA for ccf17ea
modules/runners/templates/start-runner.ps1
@@ -6,7 +6,7 @@ $token=Invoke-RestMethod -Method PUT -Uri "http://169.254.169.254/latest/api/tok
6
if ( ! $token ) {
7
$retrycount=0
8
do {
9
- echo "Failed to retrieve token. Retrying in 5 seconds."
+ Write-Output "Failed to retrieve token. Retrying in 5 seconds."
10
Start-Sleep 5
11
$token=Invoke-RestMethod -Method PUT -Uri "http://169.254.169.254/latest/api/token" -Headers @{"X-aws-ec2-metadata-token-ttl-seconds" = "180"}
12
$retrycount=$retrycount + 1
0 commit comments