Skip to content

Commit

Permalink
Remove shim package
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyrZotov committed Aug 26, 2024
1 parent 754e8ea commit cc22f92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
4 changes: 2 additions & 2 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ import (
// Allow embedding bridge-metadata.json in the provider.
_ "embed"

"github.com/1Password/terraform-provider-onepassword/v2/providerlink"
pf "github.com/pulumi/pulumi-terraform-bridge/pf/tfbridge"
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge"
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge/tokens"
shim "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim"
"github.com/pulumi/pulumi/sdk/v3/go/common/resource"

"github.com/1Password/pulumi-onepassword/provider/pkg/version"
op "github.com/1Password/pulumi-onepassword/provider/shim"
)

// all of the token components used below.
Expand Down Expand Up @@ -56,7 +56,7 @@ func Provider() tfbridge.ProviderInfo {
// Create a Pulumi provider mapping
prov := tfbridge.ProviderInfo{
// Instantiate the Terraform provider
P: pf.ShimProvider(op.NewProvider()),
P: pf.ShimProvider(providerlink.New(version.Version)()),
Name: "onepassword/v2",
// DisplayName is a way to be able to change the casing of the provider
// name when being displayed on the Pulumi registry
Expand Down
11 changes: 0 additions & 11 deletions provider/shim/shim.go

This file was deleted.

0 comments on commit cc22f92

Please sign in to comment.