From 13f4ec1dc98710d2cf226de3643dc5a0a6c5ac67 Mon Sep 17 00:00:00 2001 From: pmikus Date: Mon, 9 Aug 2021 14:26:45 +0000 Subject: FIX: Terraform install Signed-off-by: pmikus Change-Id: I1bc29338bf677c5777474ea07954df4ca0ed0a31 --- resources/libraries/bash/function/terraform.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'resources/libraries') diff --git a/resources/libraries/bash/function/terraform.sh b/resources/libraries/bash/function/terraform.sh index 23da8ae734..929cdd87c8 100644 --- a/resources/libraries/bash/function/terraform.sh +++ b/resources/libraries/bash/function/terraform.sh @@ -75,6 +75,8 @@ function terraform_init () { set -exuo pipefail if ! installed terraform; then + repo="deb [arch=amd64] https://apt.releases.hashicorp.com focal main" + echo "${repo}" >> "/etc/apt/sources.list" || die "Failed to add repo!" apt update -y apt install -y terraform #die "Please install terraform!" -- cgit 1.2.3-korg