m1-terraform-provider-helper
m1-terraform-provider-helper copied to clipboard
FATA[0047] Bash execution did not run successfully
Hello! I got an error trying to install provider "hashicorp/aws -v v3.23.0"
Thanks for a lot
Output: m1-terraform-provider-helper install hashicorp/aws -v v3.23.0 Getting provider data from terraform registry Getting source code... Compiling... FATA[0047] Bash execution did not run successfully: exit status 2
Expected Behavior
I don't know, because it's the first time I try this application.
Actual Behavior
m1-terraform-provider-helper install hashicorp/aws -v v3.23.0 Getting provider data from terraform registry Getting source code... Compiling... FATA[0047] Bash execution did not run successfully: exit status 2
Steps to Reproduce (including precondition)
{Please write here}
Screenshot on This Problem (if possible)
Your Environment
- OS: Monterrey 12.5
- m1-terraform-provider-helper version: Current version: 0.7.4%
Which go version are you using? I recently upgraded to go 1.18 and now I am also running into this error. You can circumvent that error by specifying a different build command.
m1-terraform-provider-helper install hashicorp/aws -v v3.23.0 --custom-build-command "go get -u golang.org/x/sys && make fmt && gofmt -s -w ./tools/main.go && make build "
In general, I think I will add some improvements regarding go 1.18
handling
gave me the same error, running: m1-terraform-provider-helper install hashicorp/aws -v v3.23.0 --custom-build-command "go get -u golang.org/x/sys && make fmt && gofmt -s -w ./tools/main.go && make build "
Which go version are you using?
Hi!!, go version go1.18.4 darwin/arm64
Please update m1-terraform-provider-helper
to the newest version, run the m1-terraform-provider-helper install hashicorp/aws -v v3.23.0 --custom-build-command "go get -u golang.org/x/sys && make fmt && gofmt -s -w ./tools/main.go && make build"
command again and post the output :)
But, if I run curl -vvv https://registry.terraform.io/v1/providers/hashicorp/aws, this shows me information
Okay. The timeout is set to 2 seconds, maybe that is a bit short for some users (maybe I will add a flag to make it customizable)
However, in the first post, the error did not originate from the http call (you can see more outputs after the Getting provider data from terraform registry
).
Please retry running the command again, until it fails with a different cause than the HTTP timeout
@swt-yoromero did you manage to get it working?
Closing due to no response..