Skip to content

Commit a98f488

Browse files
author
Dan
authored
fix: use us-west-2 endpoint for sts in buildspec (#1083)
1 parent 135171f commit a98f488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ phases:
2525
- |
2626
if [ -d "ci-lock" ]; then
2727
FILENAME=$(ls ci-lock/ || true)
28-
ACCOUNT=$(aws sts get-caller-identity --output text | awk '{print $1}')
28+
ACCOUNT=$(aws sts get-caller-identity --region us-west-2 --output text | awk '{print $1}')
2929
S3_BUCKET_DIR=s3://sagemaker-us-west-2-${ACCOUNT}/ci-lock/
3030
aws s3 rm ${S3_BUCKET_DIR}${FILENAME}
3131
fi

0 commit comments

Comments
 (0)