Closed corporate-gadfly closed 3 months ago
Looks like #164 breaks Ubuntu install for terragrunt. Downgrading to 2.0.3 fixes the issue.
We use Azure hosted agents for Azure DevOps pipeline. The install procedure looks as follows:
set -euo pipefail # version to download VERSION=2.0.3 # remove any existing file rm -f "tenv_v${VERSION}_amd64.deb" # download .deb for tenv curl -LOJ "https://github.com/tofuutils/tenv/releases/download/v${VERSION}/tenv_v${VERSION}_amd64.deb" # install tenv sudo dpkg -i "tenv_v${VERSION}_amd64.deb" # install terraform tenv tf install # install terragrunt tenv tg install # update path export PATH=$(tenv update-path) # display terraform version echo "Terraform version: $(terraform --version)" echo "Terragrunt version: $(terragrunt --version)"
With 2.0.4, this results in output that looks like as follows:
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21.8M 100 21.8M 0 0 31.6M 0 --:--:-- --:--:-- --:--:-- 31.6M Selecting previously unselected package tenv. (Reading database ... 269551 files and directories currently installed.) Preparing to unpack tenv_v2.0.4_amd64.deb ... Unpacking tenv (2.0.4) ... Setting up tenv (2.0.4) ... Resolved version from .terraform-version : 1.8.5 Installing Terraform 1.8.5 Fetching release information from https://releases.hashicorp.com/terraform/1.8.5/index.json Downloading https://releases.hashicorp.com/terraform/1.8.5/terraform_1.8.5_linux_amd64.zip Downloading https://releases.hashicorp.com/terraform/1.8.5/terraform_1.8.5_SHA256SUMS Downloading https://releases.hashicorp.com/terraform/1.8.5/terraform_1.8.5_SHA256SUMS.sig Downloading https://www.hashicorp.com/.well-known/pgp-key.txt Installation of Terraform 1.8.5 successful Resolved version from .terragrunt-version : 0.59.2 Installing Terragrunt 0.59.2 Fetching release information from https://api.github.com/repos/gruntwork-io/terragrunt/releases/tags/v0.59.2 Downloading https://github.com/gruntwork-io/terragrunt/releases/download/v0.59.2/terragrunt_linux_amd64 Downloading https://github.com/gruntwork-io/terragrunt/releases/download/v0.59.2/SHA256SUMS Installation of Terragrunt 0.59.2 successful Terraform version: Terraform v1.8.5 on linux_amd64 Terragrunt version: Failure during terragrunt call : fork/exec /home/vsts/.tenv/Terragrunt/0.59.2/terragrunt: no such file or directory
Notice the last line.
https://github.com/tofuutils/tenv/pull/168 @corporate-gadfly can you check the version 2.0.6, please?
2.0.6 works for me, TYVM @kvendingoldo.
@corporate-gadfly great! 🎉
Looks like #164 breaks Ubuntu install for terragrunt. Downgrading to 2.0.3 fixes the issue.
We use Azure hosted agents for Azure DevOps pipeline. The install procedure looks as follows:
With 2.0.4, this results in output that looks like as follows:
Notice the last line.