Closed voiski closed 1 year ago
There are already options for overriding the arch being used. Does that not handle this problem?
@DustinChaloupka that is true, but this way, we make it transparent to the user.
Alternatively, We can print the suggested workaround Install using ASDF_HASHICORP_OVERWRITE_ARCH_FALLBACK=amd64
. <- made this way on #60
Maybe this is a question of how "dumb" these kinds of install tools should be. IMO, the error that is output about the specific install not being found with the arch/os should be good enough as opposed to adding in cases to handle every edge case that might pop up in the future.
Gotcha! But I still believe a better message could fit here to cover a more general audience.
Suggestion, add the repo link so users, or who will end up supporting them, can follow. I.E.
Error: terraform version 0.14.11 not found
Check documentation for alternatives https://github.com/asdf-community/asdf-hashicorp#usage
To give a little context, we have bootstrap automation for a broader audience. I liked your idea of keeping the code simple, but I prefer to at least link resources to self-serving than getting more support needed in any eventual issue. I'm good either way to implement that suggestion on my automation, as #55 did.
I'm fine with it erroring and outputting a link to the documentation, seems reasonable.
Cool, created #61 . Closing this one.
We should be ok to run amd64 binaries with rosetta when missing arm64 support, such as old versions of terraform.