Last active
September 25, 2017 11:47
-
-
Save rbanffy/0da0ec07096ee94111320ef6fa366877 to your computer and use it in GitHub Desktop.
Quick and very dirty Terraform updater
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
curl -s -o /tmp/tf.zip $(curl -s https://www.terraform.io/downloads.html | grep darwin_amd64.zip | sed -e s/.*\=\"//g | sed s/\"\>.*//g) | |
unzip /tmp/tf.zip | |
sudo mv terraform $(which terraform) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment