mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
19 lines
406 B
Go
19 lines
406 B
Go
|
package terraform
|
||
|
|
||
|
import (
|
||
|
"github.com/hashicorp/terraform/config/configschema"
|
||
|
)
|
||
|
|
||
|
func simpleTestSchemas() *Schemas {
|
||
|
provider := simpleMockProvider()
|
||
|
provisioner := simpleMockProvisioner()
|
||
|
return &Schemas{
|
||
|
providers: map[string]*ProviderSchema{
|
||
|
"test": provider.GetSchemaReturn,
|
||
|
},
|
||
|
provisioners: map[string]*configschema.Block{
|
||
|
"test": provisioner.GetConfigSchemaReturnSchema,
|
||
|
},
|
||
|
}
|
||
|
}
|