Proto commits in pulumi/pulumi-terraform-bridge

These 4 commits are when the Protocol Buffers files have changed:

Commit:96fdf9b
Author:Anton Tayanovskyy
Committer:GitHub

chore: vendor more OpenTOFU code (#2718) Changes: - dynamic/internal/shim is gone in favor of more files in pkg/vendored/opentofu - vendored more files from opentofu to accomplish this - simpler structure of go modules under dynamic/* - two modules removed - is dynamic/go.mod still needed as a separate module? I think it fixes #2668 or it should do that because the resulting solution bundles vendored opentofu code that rewrites the generated protobuf files to use the Pulumi bridge specific copy. Fixes https://github.com/pulumi/pulumi-terraform-bridge/issues/2668 Concerns: - do acceptance tests on dynamic bridged providers pass - yes they do - looks like dynamic still depends on opentofu indirectly, which has a different version from the vendored copy; perhaps benign but may be suspicious - this has been fixed so the code does not depend on opentofu proper yet - vendored code is patched to remove provisioners; this is likely not yet used in the bridge

The documentation is generated from this commit.

Commit:342d333
Author:Anton Tayanovskyy
Committer:Anton Tayanovskyy

Replace OpenTOFU dependency with vendoring In particular this achieves using Pulumi-specific proto generated Go code avoiding errors of double-loading copies of the same Go proto code in the same process.

The documentation is generated from this commit.

Commit:7f2e4c0
Author:Anton Tayanovskyy
Committer:GitHub

Use OpenTofu planner with Plugin Framework providers (#2188) OpenTofu planner code is now used with Plugin Framework providers to emulate Terraform CLI behavior for `objchange.ProposedNew`. Note that this code was already in use for SDKv2-based resources prior to the change. The vendored code replaces a custom implementation that is now removed. Fixes https://github.com/pulumi/pulumi-terraform-bridge/issues/2172 Observable changes: Plugin Framework based resources may now reorder outputs for Set collections. This change is known to fix bugs such as https://github.com/pulumi/pulumi-terraform-bridge/issues/2192 - to be confirmed with a regression test in a follow-up PR.

Commit:d117b8e
Author:Pat Gavlin
Committer:GitHub

Add a gRPC-backed shim implementation. (#267) This implementation of the shim uses the TF plugin gRPC interface to implement provider operations. The gRPC interface exposes its own schema system that is independent of the TF plugin SDK and communicates configuration and state using `msgpack`-encoded `cty` values. The bulk of the work is in translating the gRPC schema to the shim's schema, encoding and decoding cty values to and from Go values, and computing flatmap-style diffs.

The documentation is generated from this commit.