Files
runner-images-sangeeth/images/macos/scripts/build/install-aws-tools.sh
T

22 lines
696 B
Bash
Raw Normal View History

#!/bin/bash -e -o pipefail
2023-11-28 02:25:03 +01:00
################################################################################
## File: install-aws-tools.sh
## Desc: Install the AWS CLI, Session Manager plugin for the AWS CLI, and AWS SAM CLI
################################################################################
2020-10-27 09:45:22 +03:00
source ~/utils/utils.sh
2020-09-10 14:34:08 +03:00
echo Installing aws...
2020-11-09 11:49:16 +03:00
AWS_CLI_URL="https://awscli.amazonaws.com/AWSCLIV2.pkg"
download_with_retries $AWS_CLI_URL "/tmp"
2020-11-09 20:07:01 +03:00
sudo installer -pkg /tmp/AWSCLIV2.pkg -target /
2020-09-10 14:34:08 +03:00
echo Installing aws sam cli...
brew tap aws/tap
brew_smart_install aws-sam-cli
2020-09-10 14:34:08 +03:00
echo "Install aws cli session manager"
2020-12-22 14:48:31 +07:00
brew install --cask session-manager-plugin
invoke_tests "Common" "AWS"