-
Notifications
You must be signed in to change notification settings - Fork 117
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
"Could not load plugin" – regression between 2.2.1 and 2.3.0 #120
Comments
@lukiffer did you figure out this? |
@diegoaguilar we're skirting this issue by pinning the provider version. Less than ideal but it works. |
Interesting bug report, thank you. I was unable to reproduce this with Go 1.14.7 on relatively new linux/amd64 or darwin/amd64 machines, and unfortunately I don't have a pre-AVX machine to hand to test this. However, if you can verify that building with Go 1.14.1 or later solves this problem for you, I'm happy to release a v2.3.1 of this provider compiled with Go >=1.14.1. |
@kmoe thanks, I'll try it out this weekend. |
I built Pre-AVX (Mid-2010 MacPro)
With AVX2 (Current MacBook Pro)
|
v2.3.1 is released, which should fix this issue. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
When using provider version 2.3.0, the provider plugin fails to load.
Terraform Version
Reproduced on both 0.12.29 and 0.13.2
Affected Resource(s)
It appears to be a provider issue (or potentially a plugin SDK issue) not related to a specific resource, but will use
random_id
for the sake of example.Terraform Configuration Files
Debug Output
https://gist.github.com/lukiffer/b9b86ccb0fb50b658b1d297d1e221f22
To highlight a specific set of outputs:
It appears that the go runtime is 1.14.7 but the provider was compiled against 1.14.0 – not typically an issue, but there was an issue with 1.14.0 not guarding a specific instruction or feature not available on some CPUs that was fixed in 1.14.1. (See golang/go#37478 and https://go-review.googlesource.com/c/go/+/221058/)
I believe all that should be required is that the plugin be compiled with go1.14.1 or later, but I haven't tested this.
Steps to Reproduce
terraform init && terraform plan
The text was updated successfully, but these errors were encountered: