github.com/richardbowden/terraform@v0.6.12-0.20160901200758-30ea22c25211/builtin/providers/terraform/provider.go (about)

     1  package terraform
     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  		ResourcesMap: map[string]*schema.Resource{
    12  			"terraform_remote_state": schema.DataSourceResourceShim(
    13  				"terraform_remote_state",
    14  				dataSourceRemoteState(),
    15  			),
    16  		},
    17  		DataSourcesMap: map[string]*schema.Resource{
    18  			"terraform_remote_state": dataSourceRemoteState(),
    19  		},
    20  	}
    21  }