func Provider() *schema.Provider {
	return &schema.Provider{
		Schema: map[string]*schema.Schema{
			"token": {
				Type:        schema.TypeString,
				Required:    true,
				DefaultFunc: schema.MultiEnvDefaultFunc([]string{"SENTRY_AUTH_TOKEN", "SENTRY_TOKEN"}, nil),
				Description: "The authentication token used to connect to Sentry",
			},
			"base_url": {
				Type:        schema.TypeString,
				Optional:    true,
				DefaultFunc: schema.EnvDefaultFunc("SENTRY_BASE_URL", "https://sentry.io/api/"),
				Description: "The Sentry Base API URL",
			},
		},

		ResourcesMap: map[string]*schema.Resource{
			"sentry_organization": resourceSentryOrganization(),
			"sentry_team":         resourceSentryTeam(),
			"sentry_project":      resourceSentryProject(),
			"sentry_key":          resourceSentryKey(),
			"sentry_default_key":  resourceSentryDefaultKey(),
			"sentry_plugin":       resourceSentryPlugin(),
			"sentry_rule":         resourceSentryRule(),
		},

		DataSourcesMap: map[string]*schema.Resource{
			"sentry_key":          dataSourceSentryKey(),
			"sentry_organization": dataSourceSentryOrganization(),
		},

		ConfigureContextFunc: providerContextConfigure,
	}
}
// Provider returns a *schema.Provider.
Provider returns a *schema.Provider.
// Provider returns a * schema . Provider .
func Provider() *schema.Provider {
	return &schema.Provider{
		Schema: map[string]*schema.Schema{
			"token": {
				Type:        schema.TypeString,
				Required:    true,
				DefaultFunc: schema.MultiEnvDefaultFunc([]string{"SENTRY_AUTH_TOKEN", "SENTRY_TOKEN"}, nil),
				Description: "The authentication token used to connect to Sentry",
			},
			"base_url": {
				Type:        schema.TypeString,
				Optional:    true,
				DefaultFunc: schema.EnvDefaultFunc("SENTRY_BASE_URL", "https://sentry.io/api/"),
				Description: "The Sentry Base API URL",
			},
		},
		ResourcesMap: map[string]*schema.Resource{
			"sentry_organization": resourceSentryOrganization(),
			"sentry_team":         resourceSentryTeam(),
			"sentry_project":      resourceSentryProject(),
			"sentry_key":          resourceSentryKey(),
			"sentry_default_key":  resourceSentryDefaultKey(),
			"sentry_plugin":       resourceSentryPlugin(),
			"sentry_rule":         resourceSentryRule(),
		},
		DataSourcesMap: map[string]*schema.Resource{
			"sentry_key":          dataSourceSentryKey(),
			"sentry_organization": dataSourceSentryOrganization(),
		},
		ConfigureContextFunc: providerContextConfigure,
	}
}
func Provider ( ) * schema . Provider { return & schema . Provider { Schema : map [ string ] * schema . Schema { " " : { Type : schema . TypeString , Required : true , DefaultFunc : schema . MultiEnvDefaultFunc ( [ ] string { " " , " " } , nil ) , Description : " " , } , " " : { Type : schema . TypeString , Optional : true , DefaultFunc : schema . EnvDefaultFunc ( " " , " " ) , Description : " " , } , } , ResourcesMap : map [ string ] * schema . Resource { " " : resourceSentryOrganization ( ) , " " : resourceSentryTeam ( ) , " " : resourceSentryProject ( ) , " " : resourceSentryKey ( ) , " " : resourceSentryDefaultKey ( ) , " " : resourceSentryPlugin ( ) , " " : resourceSentryRule ( ) , } , DataSourcesMap : map [ string ] * schema . Resource { " " : dataSourceSentryKey ( ) , " " : dataSourceSentryOrganization ( ) , } , ConfigureContextFunc : providerContextConfigure , } }
Provider returns a *schema.Provider.
Provider returns a * schema . Provider .