Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support setting up proxy via provider attribute proxy_url #453

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jul 7, 2024

  1. Support setting up proxy via provider attribute proxy_url

    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 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    21b1a20 View commit details
    Browse the repository at this point in the history