diff options
author | pmikus <pmikus@cisco.com> | 2021-08-09 14:26:45 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2021-08-09 14:29:27 +0000 |
commit | 80dd1f37920dbb332f8fe192313a57352af2e582 (patch) | |
tree | 3590095bc5e003d407233a9401f57dec4d544ff3 | |
parent | 38fbfa88051fede3e3cfccf111420d87f11265ed (diff) |
FIX: Terraform install
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I1bc29338bf677c5777474ea07954df4ca0ed0a31
(cherry picked from commit 13f4ec1dc98710d2cf226de3643dc5a0a6c5ac67)
(cherry picked from commit dbace27a91928d386f79943a2faa13411d14ff63)
-rw-r--r-- | resources/libraries/bash/function/terraform.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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!" |