Use HTTP_PROXY environment variable when AWS_CA_BUNDLE is specified
@@ -407,7 +407,9 @@ func loadCustomCABundle(s *Session, bundle io.Reader) error {
}
}
if t == nil {
- t = &http.Transport{}
+ t = &http.Transport{
+ Proxy: http.ProxyFromEnvironment,
+ }
}
p, err := loadCertPool(bundle)
