Skip to content

Commit

Permalink
support proxy (#6)
Browse files Browse the repository at this point in the history
Signed-off-by: Wing924 <[email protected]>
  • Loading branch information
Wing924 authored Jan 10, 2022
1 parent 1aecd7a commit 56589ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions es/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) {
retry := d.Get("retry").(int)
waitBeforeRetry := d.Get("wait_before_retry").(int)
transport := &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{},
}
// Checks is valid URLs
Expand Down

0 comments on commit 56589ce

Please sign in to comment.