From 8397e9ed8e10b33abb5c133b85919e8e8dfd8a5c Mon Sep 17 00:00:00 2001 From: ajayaraman Date: Fri, 11 Dec 2020 11:23:12 -0800 Subject: [PATCH] v1.3.7 changelog --- CHANGELOG.md | 3 +++ README.md | 3 +-- client/client.go | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89883f78..6b0b7876 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.3.7 (December 8, 2020) +* Fix: http client overrides default transport and no longer supports environment proxy settings. (#46) + ## 1.3.6 (December 8, 2020) * Fix: Pass HEC token as input with http event collector resource diff --git a/README.md b/README.md index f130ebe6..cc06aa96 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,7 @@ Build the provider: `make build` * For importing existing resources use `terraform import` * To remove all terraform managed resources use `terraform destroy` -**NOTE:** When developing or testing with terraform `>= 0.13` you must replace the provider location from remote (registry.terraform.io) to local build. - +**NOTE:** When developing and testing local provider builds, if terraform version `>= 0.13` you would have to replace the provider binaries in the `.terraform` folder with your local build. Follow guidelines: https://github.com/hashicorp/terraform/blob/master/website/upgrade-guides/0-13.html.markdown ### Contributions diff --git a/client/client.go b/client/client.go index c6c1a916..ab7cf2d8 100644 --- a/client/client.go +++ b/client/client.go @@ -292,7 +292,7 @@ func NewSplunkdHTTPClient(timeout time.Duration, skipValidateTLS bool) *http.Cli return &http.Client{ Timeout: timeout, Transport: &http.Transport{ - Proxy: http.DefaultTransport.(*http.Transport).Proxy, + Proxy: http.DefaultTransport.(*http.Transport).Proxy, TLSClientConfig: &tls.Config{InsecureSkipVerify: skipValidateTLS}, }, }