20 lines
406 B
Go
20 lines
406 B
Go
|
package test
|
||
|
|
||
|
import (
|
||
|
"github.com/hashicorp/terraform/helper/schema"
|
||
|
"github.com/hashicorp/terraform/terraform"
|
||
|
)
|
||
|
|
||
|
func Provider() terraform.ResourceProvider {
|
||
|
return &schema.Provider{
|
||
|
ResourcesMap: map[string]*schema.Resource{
|
||
|
"test_resource": testResource(),
|
||
|
},
|
||
|
ConfigureFunc: providerConfigure,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func providerConfigure(d *schema.ResourceData) (interface{}, error) {
|
||
|
return nil, nil
|
||
|
}
|