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 e368618 commit 38b5dd4Copy full SHA for 38b5dd4
packer/linux/conf/bin/bk-install-elastic-stack.sh
@@ -102,7 +102,7 @@ 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
105
- BUILDKITE_AGENT_TOKEN="$(aws ssm get-parameter --name ${BUILDKITE_AGENT_TOKEN_PATH} --with-decryption | jq -r .Parameter.Value)"
+ BUILDKITE_AGENT_TOKEN="$(aws ssm get-parameter --name "${BUILDKITE_AGENT_TOKEN_PATH}" --with-decryption --query Parameter.Value"
106
fi
107
108
cat << EOF > /etc/buildkite-agent/buildkite-agent.cfg
0 commit comments