func Provider() *schema.Provider {
	return &schema.Provider{
		Schema: map[string]*schema.Schema{
			"web_endpoint_uri": {
				Type:        schema.TypeString,
				Required:    true,
				DefaultFunc: schema.MultiEnvDefaultFunc([]string{"GRAYLOG_WEB_ENDPOINT_URI"}, nil),
			},
			"auth_name": {
				Type:     schema.TypeString,
				Required: true,
				DefaultFunc: schema.MultiEnvDefaultFunc([]string{
					"GRAYLOG_AUTH_NAME"}, nil),
			},
			"auth_password": {
				Type:     schema.TypeString,
				Required: true,
				DefaultFunc: schema.MultiEnvDefaultFunc([]string{
					"GRAYLOG_AUTH_PASSWORD"}, nil),
			},
		},
		ResourcesMap: map[string]*schema.Resource{
			"graylog_role":      resourceRole(),
			"graylog_user":      resourceUser(),
			"graylog_input":     resourceInput(),
			"graylog_index_set": resourceIndexSet(),
			"graylog_stream":    resourceStream(),
		},
		ConfigureFunc: providerConfigure,
	}
}
// Provider returns a terraform resource provider for graylog.
Provider returns a terraform resource provider for graylog.
// Provider returns a terraform resource provider for graylog .
func Provider() *schema.Provider {
	return &schema.Provider{
		Schema: map[string]*schema.Schema{
			"web_endpoint_uri": {
				Type:        schema.TypeString,
				Required:    true,
				DefaultFunc: schema.MultiEnvDefaultFunc([]string{"GRAYLOG_WEB_ENDPOINT_URI"}, nil),
			},
			"auth_name": {
				Type:     schema.TypeString,
				Required: true,
				DefaultFunc: schema.MultiEnvDefaultFunc([]string{
					"GRAYLOG_AUTH_NAME"}, nil),
			},
			"auth_password": {
				Type:     schema.TypeString,
				Required: true,
				DefaultFunc: schema.MultiEnvDefaultFunc([]string{
					"GRAYLOG_AUTH_PASSWORD"}, nil),
			},
		},
		ResourcesMap: map[string]*schema.Resource{
			"graylog_role":      resourceRole(),
			"graylog_user":      resourceUser(),
			"graylog_input":     resourceInput(),
			"graylog_index_set": resourceIndexSet(),
			"graylog_stream":    resourceStream(),
		},
		ConfigureFunc: providerConfigure,
	}
}
func Provider ( ) * schema . Provider { return & schema . Provider { Schema : map [ string ] * schema . Schema { " " : { Type : schema . TypeString , Required : true , DefaultFunc : schema . MultiEnvDefaultFunc ( [ ] string { " " } , nil ) , } , " " : { Type : schema . TypeString , Required : true , DefaultFunc : schema . MultiEnvDefaultFunc ( [ ] string { " " } , nil ) , } , " " : { Type : schema . TypeString , Required : true , DefaultFunc : schema . MultiEnvDefaultFunc ( [ ] string { " " } , nil ) , } , } , ResourcesMap : map [ string ] * schema . Resource { " " : resourceRole ( ) , " " : resourceUser ( ) , " " : resourceInput ( ) , " " : resourceIndexSet ( ) , " " : resourceStream ( ) , } , ConfigureFunc : providerConfigure , } }
Provider returns a terraform resource provider for graylog.
Provider returns a terraform resource provider for graylog .