Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .circleci/local_publish_helpers_codebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,12 @@ function setAwsAccountCredentials {
useChildAccountCredentials
else
echo "OSTYPE is $OSTYPE"
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip -o awscliv2.zip >/dev/null
export PATH=$PATH:$(pwd)/aws/dist
# Install outside the repo: _scanArtifacts greps packages/amplify-e2e-tests/, and the AWS CLI's bundled
# example docs can contain the scan's mock value, which fails the scan.
AWS_CLI_INSTALL_DIR=/tmp/awscliv2
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "$AWS_CLI_INSTALL_DIR.zip"
unzip -o "$AWS_CLI_INSTALL_DIR.zip" -d "$AWS_CLI_INSTALL_DIR" >/dev/null
export PATH=$PATH:$AWS_CLI_INSTALL_DIR/aws/dist
useChildAccountCredentials
fi
}
Expand Down
Loading