package
1.12.0-alpha20250213
Repository: https://github.com/hashicorp/terraform.git
Documentation: pkg.go.dev
# Functions
AppendProtoDiag appends a new diagnostic from a warning string or an error.
AttributePathToPath takes the proto encoded path and converts it to a cty.Path.
ConfigSchemaToProto takes a *configschema.Block and converts it to a proto.Schema_Block for a grpc response.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AttributePathToPath takes a cty.Path and converts it to a proto-encoded path.
ProtoToConfigSchema takes the GetSchcema_Block from a grpc response and converts it to a terraform *configschema.Block.
ProtoToDeferred translates a proto.Deferred to a providers.Deferred.
ProtoToDiagnostics converts a list of proto.Diagnostics to a tf.Diagnostics.
ProtoToProviderSchema takes a proto.Schema and converts it to a providers.Schema.
WarnsAndErrorsToProto converts the warnings and errors return by the legacy provider to protobuf diagnostics.