X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Ffunction%2Fterraform.sh;h=23da8ae734aed8f0a44c3e924743d8587f1063ca;hp=567fc78f06defdead56b90f561dadb60c0b60f59;hb=ddd2cc047694396928086482339588966a858fba;hpb=f7c3f3918646a7bb157e648ed96beb9bb5c232ea 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!"