Skip to content
This repository has been archived by the owner on Nov 14, 2020. It is now read-only.

Read proxy configuration from environment #39

Merged
merged 1 commit into from
Feb 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rabbitmq/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down