-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform binary not found #547
Comments
@manotux There might be several reasons:
|
Thanks for the quick reply. I've been able to use the terraform binary normally, so I don't think the
Somehow this code or hc-install is not being able to identity the binary in my system correctly. Any ideas in how to resolve this? I use Kali 2024.2 distro. Thanks |
@manotux The aztfexport/internal/meta/tfinstall_find.go Lines 16 to 21 in d8b7462
|
@magodo I had already checked that, the terraform version installed is 1.6.3-dev, the one provided on Kali 2024.02.
|
With: func main() {
c := version.MustConstraints(version.NewConstraint(">=0.12"))
v := version.Must(version.NewSemver("v1.6.3-dev"))
fmt.Println(c.Check(v))
} It prints: With See hashicorp/go-version#36 (comment) for why. So we'd suggest you to install a released version of terraform. |
Thanks for your time and verification. I'll consider installing the project binaries rather than using the ones provided by Kali. I've never thought it was a good idea to include strings like '-dev' on package versions; it's not the first time I've seen an issue like that when parsing. |
The terraform cli tool is installed:
The linux amd64 binary was downloaded:
But for any command I get the following error stating the terraform binary is not found in $PATH
Any clues?
The text was updated successfully, but these errors were encountered: