terraform/plugin/plugin_test.go

18 lines
357 B
Go

package plugin
import (
"github.com/hashicorp/terraform/internal/legacy/terraform"
)
func testProviderFixed(p terraform.ResourceProvider) ProviderFunc {
return func() terraform.ResourceProvider {
return p
}
}
func testProvisionerFixed(p terraform.ResourceProvisioner) ProvisionerFunc {
return func() terraform.ResourceProvisioner {
return p
}
}