add terraform, aws tools, update git pull, update how PATH .profile is loaded
This commit is contained in:
16
install/33-aws.sh
Executable file
16
install/33-aws.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
|
||||
unzip awscliv2.zip -d "$dotfiles_dir/tmp"
|
||||
rm awscliv2.zip
|
||||
|
||||
if not_installed "aws"; then
|
||||
echo "Installing awscli..."
|
||||
sudo ./tmp/aws/install
|
||||
fi
|
||||
|
||||
echo "awscli is installed, upgrading..."
|
||||
sudo ./tmp/aws/install --update
|
||||
aws --version
|
||||
|
||||
rm -rf ./tmp/aws
|
||||
Reference in New Issue
Block a user