Combining and Translating Providers
Use terraform-plugin-mux to combine and translate providers. It minimizes code changes by wrapping existing provider servers.
The terraform-plugin-mux Go module is a collection of Go packages for combining (multiplexing) and translating provider servers. It helps minimize provider code changes by wrapping existing provider servers. This functionality is based on the Terraform Plugin Protocol and
terraform-plugin-go provider servers.
terraform-plugin-mux Go module enables flexibility when you develop and maintain Terraform providers. It is especially useful when you need to upgrade an existing provider to use the plugin framework SDK or the latest version of the plugin protocol. We recommend using
terraform-plugin-mux for the following use cases:
- Combine providers to reduce maintenance burden while still supporting varying Terraform requirements or multiple provider SDK implementations.
- Migrate resources and data sources from terraform-plugin-sdk/v2 to terraform-plugin-framework over time.
- Develop with terraform-plugin-sdk/v2, but require Terraform CLI 1.0 or later.
- Develop with terraform-plugin-framework, but support Terraform CLI 0.12 or later.