Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
FIX: Terraform install
[csit.git]
/
resources
/
libraries
/
bash
/
function
/
terraform.sh
diff --git
a/resources/libraries/bash/function/terraform.sh
b/resources/libraries/bash/function/terraform.sh
index
23da8ae
..
929cdd8
100644
(file)
--- 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
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!"
apt update -y
apt install -y terraform
#die "Please install terraform!"