-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable PRC by default #2380
Enable PRC by default #2380
Conversation
Thanks for cleaning up the test suite! Mostly looking good, I had a few questions on the removed tests. |
pkg/tests/schema_pulumi_test.go
Outdated
} | ||
|
||
t.Run("PRC enabled", func(t *testing.T) { | ||
// TODO[pulumi/pulumi-terraform-bridge#2428]: Incorrect detailed diff with unknown elements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
THank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thank you so much!
This PR has been shipped in release v3.91.0. |
Adds a `DiffEqualDecisionOverride` to the shim layer which allows provider implementations to specify a diff decision instead of relying on the shim layer to do that. Also adds a `DiffEqualDecisionOverride` to the PRC sdkv2 implementation which opentofu does. Also adds a feature flag `EnableAccurateBridgePreview` which guards this feature. will fix once rolled out: #2293 will fix once rolled out: #1501 will undo once rolled out: #1502 as the underlying issue was fixed during the PRC work. Stacked on #2380
This PR enables PlanResourceChange by default in the bridge. A bunch of tests had to be fixed up to work with PRC.
fixes #1785