Install AWS

PHOTO EMBED

Fri Dec 02 2022 08:28:24 GMT+0000 (UTC)

Saved by @tgran2028 #aws #install #cli

#!/usr/bin/env bash
# -*- coding: utf-8 -*-
#
#~@filename: install-aws-cli.sh
#~@source: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html


curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
./aws/install --install-dir /usr/local/aws-cli --bin-dir /usr/local/bin

echo "#-------------------#
#        AWS        #
#-------------------#
BIN: $(which aws)
VERSION:  $(aws --version)
"
content_copyCOPY

# AWS-cli (v2) Installs AWS cli v2. --- For more information, see amazon docs at [cli/latest/userguide/getting-started-install](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html).
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html