terraform-provider-postgresql icon indicating copy to clipboard operation
terraform-provider-postgresql copied to clipboard

Support setting up proxy via provider attribute `proxy_url`

Open take-five opened this issue 1 year ago • 1 comments

Previously, the only way to configure proxying requests to Postgres through a SOCKS5 proxy server was to set ALL_PROXY environment variable. However, this could have unintended side effects and impact other providers.

With proxy_url provider attribute, users can configure proxy for each provider instance individually and make use of e.g. Terraform variables.

It is also possible to use PGPROXY environment variable to configure SOCKS5 proxy for all instances of PostgreSQL provider in the current root module. This environment variable is also used in acceptance tests for this provider.

take-five avatar Jul 07 '24 12:07 take-five

We are also interested

esulzickis avatar Nov 20 '24 09:11 esulzickis