diff --git a/internal/elastic/plugin.go b/internal/elastic/plugin.go index 107388ed..fe19fa4b 100644 --- a/internal/elastic/plugin.go +++ b/internal/elastic/plugin.go @@ -40,8 +40,7 @@ func Plugin(version string, loader KibanaClientLoaderFn) *plugin.Schema { func makeSearchClient(pcfg cty.Value) (*es.Client, error) { cfg := &es.Config{ - Addresses: []string{defaultBaseURL}, - Username: defaultUsername, + Username: defaultUsername, } if pcfg.IsNull() { return nil, fmt.Errorf("configuration is required")