Files
runner-images/images/macos/scripts/build/aws.sh
2023-11-15 12:12:28 +01:00

17 lines
413 B
Bash

#!/bin/bash -e -o pipefail
source ~/utils/utils.sh
echo Installing aws...
AWS_CLI_URL="https://awscli.amazonaws.com/AWSCLIV2.pkg"
download_with_retries $AWS_CLI_URL "/tmp"
sudo installer -pkg /tmp/AWSCLIV2.pkg -target /
echo Installing aws sam cli...
brew tap aws/tap
brew_smart_install aws-sam-cli
echo "Install aws cli session manager"
brew install --cask session-manager-plugin
invoke_tests "Common" "AWS"