diff options
author | pmikus <pmikus@cisco.com> | 2021-08-09 13:58:59 +0000 |
---|---|---|
committer | pmikus <pmikus@cisco.com> | 2021-08-09 13:58:59 +0000 |
commit | ddd2cc047694396928086482339588966a858fba (patch) | |
tree | 10fbe2c4b0e9b59f0373ca40434f055ece7ff9fe /resources/libraries/bash/function | |
parent | a61413f1f6eadec92b6ff91d1e5058166401f20b (diff) |
Infra: Install terraform
+ Unless docker images gets updated
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I9d09b24ca7bef71dad5774ae2b5e2e67e7b8f285
Diffstat (limited to 'resources/libraries/bash/function')
-rw-r--r-- | resources/libraries/bash/function/terraform.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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!" |