Skip to content

Commit 38b5dd4

Browse files
Jarryd Tilbrooklox
andcommitted
Update packer/linux/conf/bin/bk-install-elastic-stack.sh
Co-Authored-By: Lachlan Donald <[email protected]>
1 parent e368618 commit 38b5dd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packer/linux/conf/bin/bk-install-elastic-stack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ fi
102102

103103
# If the agent token path is set, use that instead of BUILDKITE_AGENT_TOKEN
104104
if [[ -z "${BUILDKITE_AGENT_TOKEN_PATH}" ]] ; then
105-
BUILDKITE_AGENT_TOKEN="$(aws ssm get-parameter --name ${BUILDKITE_AGENT_TOKEN_PATH} --with-decryption | jq -r .Parameter.Value)"
105+
BUILDKITE_AGENT_TOKEN="$(aws ssm get-parameter --name "${BUILDKITE_AGENT_TOKEN_PATH}" --with-decryption --query Parameter.Value"
106106
fi
107107
108108
cat << EOF > /etc/buildkite-agent/buildkite-agent.cfg

0 commit comments

Comments
 (0)