From 38fbfa88051fede3e3cfccf111420d87f11265ed Mon Sep 17 00:00:00 2001 From: pmikus Date: Mon, 9 Aug 2021 13:58:59 +0000 Subject: Infra: Install terraform + Unless docker images gets updated Signed-off-by: pmikus Change-Id: I9d09b24ca7bef71dad5774ae2b5e2e67e7b8f285 (cherry picked from commit ddd2cc047694396928086482339588966a858fba) (cherry picked from commit 62420b659ffa75edbfe7c8ac4f480dff5b01c27e) --- resources/libraries/bash/function/terraform.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'resources/libraries/bash/function') diff --git a/resources/libraries/bash/function/terraform.sh b/resources/libraries/bash/function/terraform.sh index 567fc78f06..23da8ae734 100644 --- a/resources/libraries/bash/function/terraform.sh +++ b/resources/libraries/bash/function/terraform.sh @@ -75,7 +75,9 @@ function terraform_init () { set -exuo pipefail if ! installed terraform; then - die "Please install terraform!" + apt update -y + apt install -y terraform + #die "Please install terraform!" fi pushd "${CSIT_DIR}"/fdio.infra.terraform || die "Pushd failed!" -- cgit 1.2.3-korg