terraform/plugin/plugin_test.go

18 lines
341 B
Go

package plugin
import (
"github.com/hashicorp/terraform/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
}
}