https://pulumi.com logo
p

powerful-postman-67412

09/18/2023, 6:02 PM
I'm trying to build our a pulumi provider but at
make tfgen
. I'm getting an error
Copy code
../../../go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20220824175045-450992f2f5b9/helper/schema/provider.go:508:9: cannot use NewGRPCProviderServer(p) (value of type *GRPCProviderServer) as tfprotov5.ProviderServer value in return statement: *GRPCProviderServer does not implement tfprotov5.ProviderServer (missing method GetMetadata)
This is using the newest versions of the
pulumi-terraform-bridge
and
pulumi
Seem to get it working by changing the
terraform-plugin-sdk
to match what is used by the AWS pulumi provider
If anyone can provide any feedback if this is on the correct track for enabling the release for python https://github.com/MaterializeInc/pulumi-materialize/pull/67
s

stocky-restaurant-98004

09/18/2023, 8:26 PM
You want the
terraform-plugin-sdk
to match what's in the version of
pulumi-terraform-bridge
(but using
pulumi-aws
as a reference is also a good move).
p

powerful-postman-67412

09/21/2023, 2:15 PM
Hey Josh. I'm trying to enable the release for the Python SDK and hitting some errors with
make tfgen
in the Github Action. I can't figure out what I'm doing incorrectly since it works locally https://github.com/MaterializeInc/pulumi-materialize/actions/runs/6262865266/job/17006011651
s

stocky-restaurant-98004

09/25/2023, 3:07 PM
Sorry for the non-response. I was on PTO. Are you still stuck on this?
p

powerful-postman-67412

09/25/2023, 3:31 PM
Still not really sure so just took a break from it. No rush but if you have time this week to take a look, that would be very appreciated