2014-05-29 06:09:47 +02:00
|
|
|
package plugin
|
|
|
|
|
|
|
|
import (
|
2020-11-18 16:05:54 +01:00
|
|
|
"github.com/hashicorp/terraform/internal/legacy/terraform"
|
2014-05-29 06:09:47 +02:00
|
|
|
)
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|