tf5to6server

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2022 License: MPL-2.0 Imports: 5 Imported by: 28

Documentation

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL