github.com/mohanarpit/terraform@v0.6.16-0.20160909104007-291f29853544/builtin/providers/null/provider.go (about)

     1  package null
     2  
     3  import (
     4  	"github.com/hashicorp/terraform/helper/schema"
     5  	"github.com/hashicorp/terraform/terraform"
     6  )
     7  
     8  // Provider returns a terraform.ResourceProvider.
     9  func Provider() terraform.ResourceProvider {
    10  	return &schema.Provider{
    11  		Schema: map[string]*schema.Schema{},
    12  
    13  		ResourcesMap: map[string]*schema.Resource{
    14  			"null_resource": resource(),
    15  		},
    16  
    17  		DataSourcesMap: map[string]*schema.Resource{
    18  			"null_data_source": dataSource(),
    19  		},
    20  	}
    21  }