Package tf5to6server translates a provider that implements protocol version 5, into one that implements protocol version 6.
Supported protocol version 5 provider servers include any which implement the tfprotov5.ProviderServer (https://pkg.go.dev/github.com/hashicorp/terraform-plugin-go/tfprotov5#ProviderServer) interface, such as:
Refer to the UpgradeServer() function for wrapping a server.
Index ¶ Constants ¶This section is empty.
Variables ¶This section is empty.
Functions ¶ func UpgradeServer ¶func UpgradeServer(_ context.Context, v5server func() tfprotov5.ProviderServer) (tfprotov6.ProviderServer, error)
UpgradeServer wraps a protocol version 5 ProviderServer in a protocol version 6 server. Protocol version 6 is fully forwards compatible with protocol version 5, so no additional validation is performed.
Protocol version 6 servers require Terraform CLI 1.0 or later.
Terraform CLI 1.1.5 or later is required for terraform-provider-sdk based protocol version 5 servers to properly upgrade to protocol version 6.
Types ¶This section is empty.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4