From bd43258c3a602c6b1bbd39918752325dd5e8d7c5 Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Tue, 26 Dec 2023 21:31:07 +0100 Subject: [PATCH] Fix provider import --- provider/resources.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/resources.go b/provider/resources.go index 2ba66f6..059639c 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -58,7 +58,7 @@ func Provider() tfbridge.ProviderInfo { // Create a Pulumi provider mapping prov := tfbridge.ProviderInfo{ // Instantiate the Terraform provider - P: shimv2.NewProvider(xyz.Provider()), + P: shimv2.NewProvider(xyz.New(version.Version)()), Name: "xyz", // DisplayName is a way to be able to change the casing of the provider // name when being displayed on the Pulumi registry