Fix terraform package version for ubuntu

This commit is contained in:
Philippe Caseiro 2021-03-23 12:11:54 +01:00
parent d3f48aef8c
commit 7c61208297
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ function install_hashicorp_tools()
curl -fsSL ${gpg_key_url} | apt-key add - curl -fsSL ${gpg_key_url} | apt-key add -
apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
apt-get update apt-get update
apt-get -y install terraform=${terraform_version} packer=${packer_version} apt-get -y install --allow-downgrades terraform=${terraform_version} packer=${packer_version}
return ${?} return ${?}
fi fi
} }