diff options
author | pmikus <pmikus@cisco.com> | 2021-08-09 13:58:59 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2021-08-09 14:01:21 +0000 |
commit | 38fbfa88051fede3e3cfccf111420d87f11265ed (patch) | |
tree | 0b85175d50bafc4ece9180f0483879cca843a2ee | |
parent | b9d4313cc851be7c7e8657783723343e8bd14664 (diff) |
Infra: Install terraform
+ Unless docker images gets updated
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I9d09b24ca7bef71dad5774ae2b5e2e67e7b8f285
(cherry picked from commit ddd2cc047694396928086482339588966a858fba)
(cherry picked from commit 62420b659ffa75edbfe7c8ac4f480dff5b01c27e)
-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!" |