Skip to content

Commit

Permalink
fix: use us-west-2 endpoint for sts in buildspec (#1083)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan committed Oct 11, 2019
1 parent 135171f commit a98f488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ phases:
- |
if [ -d "ci-lock" ]; then
FILENAME=$(ls ci-lock/ || true)
ACCOUNT=$(aws sts get-caller-identity --output text | awk '{print $1}')
ACCOUNT=$(aws sts get-caller-identity --region us-west-2 --output text | awk '{print $1}')
S3_BUCKET_DIR=s3://sagemaker-us-west-2-${ACCOUNT}/ci-lock/
aws s3 rm ${S3_BUCKET_DIR}${FILENAME}
fi

0 comments on commit a98f488

Please sign in to comment.