Skip to content

Commit 2b68e63

Browse files
author
jradtilbrook
committed
Get parameter as raw text
1 parent 61c747b commit 2b68e63

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 [[ -n "${BUILDKITE_AGENT_TOKEN_PATH}" ]] ; then
105-
BUILDKITE_AGENT_TOKEN="$(aws ssm get-parameter --name "${BUILDKITE_AGENT_TOKEN_PATH}" --with-decryption --query Parameter.Value)"
105+
BUILDKITE_AGENT_TOKEN="$(aws ssm get-parameter --name "${BUILDKITE_AGENT_TOKEN_PATH}" --with-decryption --query Parameter.Value --output text)"
106106
fi
107107

108108
cat << EOF > /etc/buildkite-agent/buildkite-agent.cfg

0 commit comments

Comments
 (0)