Cloudflare Setup

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

Pulumi relies on the Cloudflare SDK to authenticate requests from your computer to Cloudflare. 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 variables CLOUDFLARE_EMAIL and CLOUDFLARE_API_KEY:

    $ export CLOUDFLARE_EMAIL=XXXXXX
    $ export CLOUDFLARE_API_KEY=YYYYYY
  2. If you prefer that they be stored alongside your Pulumi stack for easy multi-user access:

    $ pulumi config set cloudflare:email XXXXXX
    $ pulumi config set cloudflare:apiKey YYYYYY --secret

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