Skip to content

Commit

Permalink
Enable PRC (#877)
Browse files Browse the repository at this point in the history
Fixes #875
  • Loading branch information
iwahbe authored Sep 17, 2024
1 parent c4fa9b7 commit 5a63c82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,14 @@ 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())
p := shimv2.NewProvider(newrelic.Provider(),
shimv2.WithPlanResourceChange(always))

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

0 comments on commit 5a63c82

Please sign in to comment.