Closed Hjdskes closed 2 years ago
Likely to be this:
https://github.com/Backblaze/terraform-provider-b2 The provider is written in go, but it uses official B2 python SDK embedded into the binary.
The overrides that we will need to use to build this in nixpkgs
with our current provider model will be rather non-trivial and make it the most complicated provider that we package.
TBH I'd rather remove the b2
from nixpkgs
and point people to nixpkgs-terraform-providers-bin as an alternative.
cc @zimbatm
agreed, let's remove it
Describe the bug
In https://github.com/NixOS/nixpkgs/pull/173796 I added Backblaze B2's Terraform provider. When running the plugin before I ran into
I have now been able to troubleshoot this and realise the plugin is currently broken. Running Terraform with
TF_LOG=DEBUG
, I find the culprit:It seems that this is some Go specific error message, related to its packaging imports. As I'm not familiar with Go, I don't know where to troubleshoot this or how to fix this in Nix. I am reporting this in the hopes that similar issues have been resolved before, or that someone familiar with Go can pinpoint the issue.
Steps To Reproduce
Steps to reproduce the behavior:
pkgs.terraform.withPlugins (p: [ p.b2 ])
export TF_LOG=DEBUG; terraform init && terraform plan
for any plan using the b2 Terraform provider.Expected behavior
I expect the Terraform provider to work and to provision my resources.
Notify maintainers
@zowoq
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.