github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/schemas_test.go (about) 1 package terraform 2 3 import ( 4 "github.com/hashicorp/terraform-plugin-sdk/internal/configs/configschema" 5 ) 6 7 func simpleTestSchemas() *Schemas { 8 provider := simpleMockProvider() 9 provisioner := simpleMockProvisioner() 10 return &Schemas{ 11 Providers: map[string]*ProviderSchema{ 12 "test": provider.GetSchemaReturn, 13 }, 14 Provisioners: map[string]*configschema.Block{ 15 "test": provisioner.GetSchemaResponse.Provisioner, 16 }, 17 } 18 }