This message was deleted.
# general
s
This message was deleted.
e
I'd try updating the bridge and pulumi packages:
Copy code
<http://github.com/pulumi/pulumi-terraform-bridge/v3|github.com/pulumi/pulumi-terraform-bridge/v3> v3.21.0
        <http://github.com/pulumi/pulumi/sdk/v3|github.com/pulumi/pulumi/sdk/v3> v3.30.0
a
another error occurs:
Copy code
# <http://github.com/hashicorp/terraform-plugin-test|github.com/hashicorp/terraform-plugin-test>
/Users/dli/go/pkg/mod/github.com/hashicorp/terraform-plugin-test@v1.3.0/helper.go:184:85: not enough arguments in call to zipDecompressor.Decompress
        have (string, string, bool)
        want (string, string, bool, fs.FileMode)
make: *** [tfgen] Error
The repo github.com/hashicorp/terraform-plugin-test had been archived. After i updated it to: v1.4.4
Copy code
# <http://github.com/hashicorp/terraform-plugin-test|github.com/hashicorp/terraform-plugin-test>
/Users/dli/go/pkg/mod/github.com/hashicorp/terraform-plugin-test@v1.4.4/config.go:46:32: not enough arguments in call to tfinstall.Find
        have ([]tfinstall.ExecPathFinder)
        want (context.Context, ...tfinstall.ExecPathFinder)
/Users/dli/go/pkg/mod/github.com/hashicorp/terraform-plugin-test@v1.4.4/helper.go:189:85: not enough arguments in call to zipDecompressor.Decompress
        have (string, string, bool)
        want (string, string, bool, fs.FileMode)
make: *** [tfgen] Error 2
v2.2.1
Copy code
# <http://github.com/hashicorp/terraform-plugin-sdk/acctest|github.com/hashicorp/terraform-plugin-sdk/acctest>
/Users/dli/go/pkg/mod/github.com/hashicorp/terraform-plugin-sdk@v1.14.0/acctest/helper.go:24:52: too many arguments in call to tftest.AutoInitProviderHelper
        have (string, string)
        want (string)
e
Yeh that looks like plugin-test is just not been updated to use the more recent function signatures
I don't think this is an issue with the bridge, just go modules always using the highest requested version + old code.
a
Agree with you😁. but is there any suggestion can help to resolve it? It seems o be a problem for everyone who uses pulumi-tf-provider-boilerplate to wrap a Terraform provider.
e
Well an issue for anyone trying to wrap the test-plugin, but most people are trying to wrap more recent and interesting providers.
a
🤣 I see. Thank you very much for you help.
l
@astonishing-microphone-39160 not an answer to your problem, but if you bump pulumi-terraform-bridge in
go.mod
to v3.21.0, you can customize the package names for the generated client SDKs. We are documenting it as well for the Pulumiverse community providers: https://github.com/pulumiverse/infra/tree/docs-readme
👍 1