2014-05-29 06:09:47 +02:00
|
|
|
package plugin
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/hashicorp/terraform/terraform"
|
|
|
|
)
|
|
|
|
|
2016-01-25 03:10:52 +01:00
|
|
|
func testProviderFixed(p terraform.ResourceProvider) ProviderFunc {
|
2014-09-28 20:19:24 +02:00
|
|
|
return func() terraform.ResourceProvider {
|
|
|
|
return p
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-25 03:10:52 +01:00
|
|
|
func testProvisionerFixed(p terraform.ResourceProvisioner) ProvisionerFunc {
|
2014-09-28 20:19:24 +02:00
|
|
|
return func() terraform.ResourceProvisioner {
|
|
|
|
return p
|
|
|
|
}
|
|
|
|
}
|