https://pulumi.com logo
#general
Title
# general
b

big-potato-91793

07/19/2023, 6:31 PM
Hello we are trying to create a new provider base on the terraform provider that currently exist. We are getting this error. Does it sounds a bell?
Copy code
../../../../.asdf/installs/golang/1.20/packages/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.54.0/pkg/tfshim/sdk-v2/resource.go:24:26: r.tf.SchemaMap undefined (type *schema.Resource has no field or method SchemaMap)
../../../../.asdf/installs/golang/1.20/packages/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.54.0/pkg/tfshim/sdk-v2/resource.go:90:67: r.tf.SchemaMap undefined (type *schema.Resource has no field or method SchemaMap)
../../../../.asdf/installs/golang/1.20/packages/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.54.0/pkg/tfshim/sdk-v2/resource.go:91:22: r.tf.SchemaMap undefined (type *schema.Resource has no field or method SchemaMap)
../../../../.asdf/installs/golang/1.20/packages/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.54.0/pkg/tfshim/sdk-v2/schema.go:137:23: e.SchemaMap undefined (type *schema.Resource has no field or method SchemaMap)
b

billowy-army-68599

07/19/2023, 6:51 PM
your terraform bridge doesn’t match the right dependencies for pulumi/pkg
b

big-potato-91793

07/19/2023, 7:40 PM
Copy code
<http://github.com/pulumi/pulumi-terraform-bridge/v3|github.com/pulumi/pulumi-terraform-bridge/v3> v3.54.0
	<http://github.com/pulumi/pulumi/sdk/v3|github.com/pulumi/pulumi/sdk/v3> v3.75.0
they are all the latest version 🤔
b

billowy-army-68599

07/19/2023, 8:16 PM
it’s not necessarily the case that you should use the latest and greatest version. you need to match everything up, so the terraform plugin sdk, pulumi/sdk and terraform bridge versions all need to match tge versions in here: https://github.com/pulumi/pulumi-terraform-bridge/blob/master/go.mod
b

big-potato-91793

07/19/2023, 8:34 PM
good, what is the process for pulumi add new provider?
3 Views