aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--resources/libraries/bash/function/terraform.sh4
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!"