terraform/builtin/providers/null/provider.go

22 lines
456 B
Go
Raw Normal View History

2014-10-05 01:42:43 +02:00
package null
import (
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/terraform"
)
// Provider returns a terraform.ResourceProvider.
func Provider() terraform.ResourceProvider {
return &schema.Provider{
Schema: map[string]*schema.Schema{},
ResourcesMap: map[string]*schema.Resource{
"null_resource": resource(),
},
DataSourcesMap: map[string]*schema.Resource{
"null_data_source": dataSource(),
},
2014-10-05 01:42:43 +02:00
}
}