Commit a04bc656 authored by nimrod's avatar nimrod
Browse files

Install Terraform from the repo.

The pre-commit Docker image has the Hashicorp repo which makes
installing the latest version Terraform much easier.
parent 9f069eec
Loading
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -7,11 +7,8 @@ include:

default:
  before_script:
    # yamllint disable-line rule:line-length
    - wget https://releases.hashicorp.com/terraform/0.15.3/terraform_0.15.3_linux_amd64.zip -O /tmp/terraform.zip
    - unzip /tmp/terraform.zip terraform -d /usr/local/bin/
    - terraform version
    - rm -rf .terraform*
    - apt-get update
    - apt-get install -y terraform
    - touch payload.zip

Generate payload: