Skip to content

Commit

Permalink
Deprecate WithPlanResourceChange (#914)
Browse files Browse the repository at this point in the history
Removes a deprecated function
  • Loading branch information
guineveresaenger authored Nov 9, 2024
2 parents d1bab61 + 32a791d commit f93852f
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 @@ -106,14 +106,10 @@ func setIDType(info tfbridge.PropertyVisitInfo) (tfbridge.PropertyVisitResult, e
return tfbridge.PropertyVisitResult{HasEffect: true}, nil
}

// A predicate that always returns true.
func always[T any](T) bool { return true }

// Provider returns additional overlaid schema and metadata associated with the provider..
func Provider() tfbridge.ProviderInfo {
// Instantiate the Terraform provider
p := shimv2.NewProvider(newrelic.Provider(),
shimv2.WithPlanResourceChange(always))
p := shimv2.NewProvider(newrelic.Provider())

// Create a Pulumi provider mapping
prov := tfbridge.ProviderInfo{
Expand Down

0 comments on commit f93852f

Please sign in to comment.