Skip to content

Commit

Permalink
CDPCP-11539 - Terraform does not support http and https proxy (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregito authored Mar 6, 2024
1 parent 18503a4 commit 22ad66a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdp-sdk-go/cdp/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 22ad66a

Please sign in to comment.