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 8c4361d commit b0d0f2aCopy full SHA for b0d0f2a
packer/linux/conf/bin/bk-install-elastic-stack.sh
@@ -101,7 +101,7 @@ if [[ "${BUILDKITE_AGENT_ENABLE_GIT_MIRRORS_EXPERIMENT}" == "true" ]] ; then
101
fi
102
103
# If the agent token path is set, use that instead of BUILDKITE_AGENT_TOKEN
104
-if [[ -z "${BUILDKITE_AGENT_TOKEN_PATH}" ]] ; then
+if [[ -n "${BUILDKITE_AGENT_TOKEN_PATH}" ]] ; then
105
BUILDKITE_AGENT_TOKEN="$(aws ssm get-parameter --name "${BUILDKITE_AGENT_TOKEN_PATH}" --with-decryption --query Parameter.Value)"
106
107
0 commit comments