Skip to content

Commit

Permalink
Merge pull request #333 from wking/get-terraform
Browse files Browse the repository at this point in the history
hack/get-terraform.sh: Add a helper for pulling Terraform
  • Loading branch information
openshift-merge-robot authored Sep 26, 2018
2 parents 45b1039 + dfdc7c2 commit 5c6e47d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hack/get-terraform.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

TERRAFORM_VERSION="0.11.8" &&
TERRAFORM_URL="https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip" &&
cd "$(dirname "$0")/.." &&
mkdir -p bin &&
curl -L "${TERRAFORM_URL}" | funzip > bin/terraform &&
chmod +x bin/terraform

0 comments on commit 5c6e47d

Please sign in to comment.