Skip to content

Commit

Permalink
Deprecate WithPlanResourceChange and WithDiff (#4734)
Browse files Browse the repository at this point in the history
Removes deprecated functions
  • Loading branch information
guineveresaenger authored Nov 9, 2024
1 parent 0908c2e commit 2a6aef3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -822,11 +822,7 @@ func ProviderFromMeta(metaInfo *tfbridge.MetadataInfo) *tfbridge.ProviderInfo {
ctx := context.Background()
upstreamProvider := newUpstreamProvider(ctx)

v2p := shimv2.NewProvider(upstreamProvider.SDKV2Provider,
shimv2.WithDiffStrategy(shimv2.PlanState),
shimv2.WithPlanResourceChange(func(string) bool {
return true
}))
v2p := shimv2.NewProvider(upstreamProvider.SDKV2Provider)

p := pftfbridge.MuxShimWithDisjointgPF(ctx, v2p, upstreamProvider.PluginFrameworkProvider)

Expand Down

0 comments on commit 2a6aef3

Please sign in to comment.