2018-05-31 14:39:45 -05:00
|
|
|
package terraform
|
|
|
|
|
|
|
|
import (
|
2020-02-03 07:18:04 -06:00
|
|
|
"github.com/hashicorp/terraform/addrs"
|
2018-07-05 12:33:29 -05:00
|
|
|
"github.com/hashicorp/terraform/configs/configschema"
|
2018-05-31 14:39:45 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
func simpleTestSchemas() *Schemas {
|
|
|
|
provider := simpleMockProvider()
|
|
|
|
provisioner := simpleMockProvisioner()
|
|
|
|
return &Schemas{
|
2020-02-03 07:18:04 -06:00
|
|
|
Providers: map[addrs.Provider]*ProviderSchema{
|
2020-04-01 12:13:40 -05:00
|
|
|
addrs.NewDefaultProvider("test"): provider.GetSchemaReturn,
|
2018-05-31 14:39:45 -05:00
|
|
|
},
|
2018-09-25 12:12:56 -05:00
|
|
|
Provisioners: map[string]*configschema.Block{
|
2018-09-05 16:35:30 -05:00
|
|
|
"test": provisioner.GetSchemaResponse.Provisioner,
|
2018-05-31 14:39:45 -05:00
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|