diff --git a/fabrica b/fabrica index 45d955d..b81298b 100755 --- a/fabrica +++ b/fabrica @@ -17,6 +17,8 @@ function needGitPull() ## Install & Uninstall ## function install_hashicorp_tools() { + packer_version="1.6.6" + terraform_version="1.14.3" if [[ ${DISTRIB_ID} == "ManjaroLinux" ]] then pacman -Syq terraform packer --noconfirm @@ -28,7 +30,7 @@ function install_hashicorp_tools() curl -fsSL ${gpg_key_url} | apt-key add - apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" apt-get update - apt-get -y install terraform packer + apt-get -y install terraform=${terraform_version} packer=${packer_version} return ${?} fi }