Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I1bc29338bf677c5777474ea07954df4ca0ed0a31
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!"