add terraform, aws tools, update git pull, update how PATH .profile is loaded

This commit is contained in:
Andrejus Kostarevas
2020-04-15 14:17:09 +01:00
parent 0bd67d48ae
commit 2a5d8004c1
11 changed files with 113 additions and 62 deletions

14
install/34-terraform.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
if not_installed "terraform"; then
echo "Installing terraform..."
wget https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_linux_amd64.zip
unzip terraform_0.12.24_linux_amd64.zip -d "$dotfiles_dir/tmp"
rm terraform_0.12.24_linux_amd64.zip
mkdir -p ~/.local/bin
mv "$dotfiles_dir/tmp/terraform" ~/.local/bin
rm "$dotfiles_dir/tmp/terraform"
fi
echo "terraform is installed"
terraform --version