Expand description
magma-protocol — tfplugin5.proto + tfplugin6.proto Rust bindings.
The protocol surface every Terraform / OpenTofu provider speaks. Generated
at build time by tonic-build from the vendored .proto files in proto/.
No hand-written gRPC anywhere else in magma per theory/MAGMA.md §IX
anti-patterns.
Until proto files are vendored (M0), this crate exposes placeholder
modules so dependent crates compile. Once the build script generates
the real bindings, uncomment the include_proto! invocations below.
Modules§
- tfplugin5
- tfplugin5 v5.10 — deprecated but still produced by older providers.
Generated by tonic-build from
proto/tfplugin5.proto. - tfplugin6
- tfplugin6 — current; required for sensitive-mark propagation,
nested attribute types, optional-required-computed expression.
Generated by tonic-build from
proto/tfplugin6.proto.
Enums§
- Plugin
Protocol - Marker for which provider-plugin protocol version a
Pluginspeaks. Real gRPC client stubs live undertfplugin5::*andtfplugin6::*once the build script generates them.