Skip to content

Commit e368618

Browse files
author
jradtilbrook
committed
Revert changes to windows script
1 parent 8bda216 commit e368618

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packer/windows/conf/bin/bk-install-elastic-stack.ps1

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ If ($Env:BUILDKITE_AGENT_ENABLE_GIT_MIRRORS_EXPERIMENT -eq "true") {
7373
}
7474
}
7575

76-
# If the agent token path is set, use that instead of BUILDKITE_AGENT_TOKEN
77-
If (![string]::IsNullOrEmpty($Env:BUILDKITE_AGENT_TOKEN_PATH)) {
78-
$Env:BUILDKITE_AGENT_TOKEN = aws ssm get-parameter --name ${Env:BUILDKITE_AGENT_TOKEN_PATH} --with-decryption | jq -r .Parameter.Value
79-
}
80-
8176
$OFS=","
8277
Set-Content -Path C:\buildkite-agent\buildkite-agent.cfg -Value @"
8378
name="${Env:BUILDKITE_STACK_NAME}-${Env:INSTANCE_ID}-%n"

0 commit comments

Comments
 (0)