https://pulumi.com logo
#package-authoring
Title
# package-authoring
b

bored-sandwich-44626

03/21/2024, 8:59 PM
I'm getting an error when I try to use pulumi to provision resources.
Copy code
error: could not read plugin [/Users/boblee/.pulumi/plugins/resource-twingate-v0.0.5/pulumi-resource-twingate] stdout: EOF
When I try to run the pulumi-resource binary that is created I get this error
Copy code
error: fatal: failed to Init GRPC to register RPC handlers: failed to create resource provider: ProviderInfo needs a semver-compatible version string, got info.Version=""
The version that is being passed should be 0.0.5
a

adorable-house-61348

03/22/2024, 11:03 AM
Hey, it looks like in
resources.go
in the
ProviderInfo
you are not specifying
Version: version.Version
Assuming https://github.com/Twingate-Labs/pulumi-twingate/blob/master/provider/resources.go is your provider. It looks like it's missing from https://github.com/pulumi/pulumi-tf-provider-boilerplate/blob/main/provider/resources.go which is what I assume you started with. I'll raise an issue there.
raised https://github.com/pulumi/pulumi-tf-provider-boilerplate/pull/112 to fix the boilerplate - LMK if that indeed fixes the issue!
b

bored-sandwich-44626

03/22/2024, 1:51 PM
That fixed it. Thanks!
2 Views