Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
minniux committed Dec 29, 2017
1 parent 0c51984 commit af90962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ec2-worker/bootstrap_concourse.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ chmod +x /usr/local/bin/concourse
# AssumeRole for remote TSA
if [ ! -z "${TSA_ACCOUNT_ID}" ]
then
ASSUMED_ROLE=$(aws sts assume-role --role-arn arn:aws:iam::$TSA_ACCOUNT_ID:role/ops/concourse-keys --role-session-name concourse-worker-$HOSTNAME)
ASSUMED_ROLE=$(aws sts assume-role --role-arn arn:aws:iam::${TSA_ACCOUNT_ID}:role/ops/concourse-keys --role-session-name concourse-worker-$HOSTNAME)
export AWS_ACCESS_KEY_ID=$(echo "$ASSUMED_ROLE" | jq -r ".Credentials.AccessKeyId")
export AWS_SECRET_ACCESS_KEY=$(echo "$ASSUMED_ROLE" | jq -r ".Credentials.SecretAccessKey")
export AWS_SESSION_TOKEN=$(echo "$ASSUMED_ROLE" | jq -r ".Credentials.SessionToken")
Expand Down

0 comments on commit af90962

Please sign in to comment.