Closed Samusia closed 2 years ago
What's the echo for?
Please use single quotes for strings without interpolation and terminate commands with semicolons
I removed redundant echo
commands
I was running into the same issue but with M1 Macbook Pro. Minimum version for darwin with arm64
is 1.0.2. I'm going to add that case also
Would love to see this merged. I run into this issue constantly with older versions and have to re-read all these issues and tickets because the default README.md doesn't have the right info. If this and the other half dozen PR's about apple silicon would get merged that would be great for everyday users like us who use tfenv.
At this point its hard to even find a non-M1 macbook new (apple doesnt sell them anymore directly) so this issue will only continue to be more common.
Just ran into this as well, we're using an older version of terraform (0.13.5) and on my new MacBook it was trying to download the ARM release which doesn't exist.
I was able to override it by setting export TFENV_ARCH=amd64
but it would be nice if this could be handled out of the box.
+1
@Samusia This helps install, what does one do to run amd64 binary on m1?
+1 Apple M1. Error trying to curl binary for 0.12.32 arm64
Should we not unset TFENV_ARCH first?
There are no old Terraform ARM64 versions in hashicorp repo
Examples: 0.11.14 0.12.29 0.6.16
How to reproduce issue: