Fix ARM64 support for old terraform versions#287
Conversation
Zordrak
left a comment
There was a problem hiding this comment.
What's the echo for?
Please use single quotes for strings without interpolation and terminate commands with semicolons
I removed redundant |
Tests for all versions presented on the https://releases.hashicorp.com/terraform/ website |
for the current TF versions. (For complete support for the older ones tfutils#287 is needed.)
Fix regexp for previous versions
51a3e9e to
3cacd91
Compare
|
I was running into the same issue but with M1 Macbook Pro. Minimum version for darwin with |
|
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 |
|
+1 |
|
@Samusia This helps install, what does one do to run amd64 binary on m1? |
|
+1 |
|
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: