Fix terraform package version for ubuntu
This commit is contained in:
parent
d3f48aef8c
commit
7c61208297
2
fabrica
2
fabrica
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue