Hello we are trying to create a new provider base ...
# general
b
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
your terraform bridge doesn’t match the right dependencies for pulumi/pkg
b
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
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
good, what is the process for pulumi add new provider?