From 22ad66ae675971806917c35d9b5dab1b5aa5032c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9sz=C3=A1ros=20Gergely?= <16577123+gregito@users.noreply.github.com> Date: Wed, 6 Mar 2024 12:08:46 +0100 Subject: [PATCH] CDPCP-11539 - Terraform does not support http and https proxy (#89) --- cdp-sdk-go/cdp/transport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdp-sdk-go/cdp/transport.go b/cdp-sdk-go/cdp/transport.go index 7de679d9..71b091e3 100644 --- a/cdp-sdk-go/cdp/transport.go +++ b/cdp-sdk-go/cdp/transport.go @@ -38,7 +38,7 @@ func getDefaultTransport(config *Config) (http.RoundTripper, error) { return nil, err } - return &http.Transport{TLSClientConfig: cfg}, nil + return &http.Transport{Proxy: http.ProxyFromEnvironment, TLSClientConfig: cfg}, nil } func buildClientTransportWithDefaultHttpTransport(config *Config, endpoint string) (*ClientTransport, error) {