HashiCorp Consul Setup

The Pulumi Consul provider uses the Consul SDK to manage resources.

Pulumi relies on the Consul SDK to authenticate requests from your computer to HashiCorp Consul. Your credentials are never sent to pulumi.com.

Configuring The Provider

Once obtained, there are two ways to communicate your configuration parameters to Pulumi:

  1. Set the environment variable CONSUL_HTTP_ADDR:

  2. If you prefer that they be stored alongside your Pulumi stack for easy multi-user access:

    $ pulumi config set consul:address XXXXXX

A full set of configuration parameters can be found listed on the Project README.