Environment
===========

You can set ``target_environment`` to specify environment variables that
TPA should set on the target instances during deployment (e.g., to
specify an HTTPS proxy, as shown below).

.. code:: yaml

   cluster_vars:
       target_environment:
           https_proxy: https://proxy.example:8080

TPA will ensure these settings are present in the environment (along
with any others it needs) during deployment and the later execution of
any cluster management commands.

These environment settings are not persistent, but you can instead use
:ref:`The postgres Unix user <The postgres Unix user>`  to set environment variables for the postgres user.
