diff --git a/rabbitmq/provider.go b/rabbitmq/provider.go index 2ef0e933..25671de8 100644 --- a/rabbitmq/provider.go +++ b/rabbitmq/provider.go @@ -113,7 +113,7 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) { } // Connect to RabbitMQ management interface - transport := &http.Transport{TLSClientConfig: tlsConfig} + transport := &http.Transport{TLSClientConfig: tlsConfig, Proxy: http.ProxyFromEnvironment} rmqc, err := rabbithole.NewTLSClient(endpoint, username, password, transport) if err != nil { return nil, err