Closed dhananjay-thakur closed 2 years ago
Hello @dhananjay-thakur, this is failing because darwin_arm64 does not exist. There is only (https://releases.hashicorp.com/terraform/0.12.19/terraform_0.12.19_darwin_amd64.zip)
The first release of Terraform that provide an arm64 binary is 1.0.2
By using TFENV_ARCH=amd64, as mentioned here(https://github.com/tfutils/tfenv#tfenv_arch) in the readme. You should be able to install version 0.12.19
Hi @harsha-chamarthi , I followed the below steps but still facing the same issue.
[INFO] TFENV_ARCH=arm tfenv install 0.12.19 Installing Terraform v0.12.19 Downloading release tarball from https://releases.hashicorp.com/terraform/0.12.19/terraform_0.12.19_darwin_arm.zip
curl: (22) The requested URL returned error: 403 Tarball download failed
@dhananjay-thakur, It should be TFENV_ARCH=amd64 tfenv install 0.12.19 and not TFENV_ARCH=arm tfenv install 0.12.19
@harsha-chamarthi Thank you so much! It is working fine for me. :)
$ tfenv install 0.12.19 [INFO] Installing Terraform v0.12.19 [INFO] Downloading release tarball from https://releases.hashicorp.com/terraform/0.12.19/terraform_0.12.19_darwin_arm64.zip
=#=-
curl: (22) The requested URL returned error: 403 Tarball download failed
Also, I am getting 403 - Forbidden error while accessing this link: https://releases.hashicorp.com/terraform/0.12.19/terraform_0.12.19_darwin_arm64.zip