Skip to content

Instantly share code, notes, and snippets.

@rbanffy rbanffy/terraform_up.sh
Last active Sep 25, 2017

Embed
What would you like to do?
Quick and very dirty Terraform updater
#! /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
You can’t perform that action at this time.