Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Terraform 0.11.14 → 0.12.0 #3914

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions bin/provision_test_vms.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -e
set -eo pipefail

# Signal failures in lock file, in order to fail fast:
function signal_failure() {
Expand All @@ -9,8 +9,14 @@ function signal_failure() {
}
trap signal_failure ERR


function install_terraform() {
curl -fsS https://releases.hashicorp.com/terraform/0.11.14/terraform_0.11.14_linux_amd64.zip | gunzip >terraform && chmod +x terraform && sudo mv terraform /usr/bin
TF_VERSION="0.12.0"
TF_SHA256SUM="42ffd2db97853d5249621d071f4babeed8f5fdba40e3685e6c1013b9b7b25830"
curl -fsS -o terraform.zip "https://releases.hashicorp.com/terraform/${TF_VERSION}/terraform_${TF_VERSION}_linux_amd64.zip"
echo "${TF_SHA256SUM} terraform.zip" | sha256sum -c
sudo unzip terraform.zip -d /usr/bin
rm terraform.zip
}

[ -n "$SECRET_KEY" ] || {
Expand Down