ec logo
ElasticCloud (EC) v0.5.1, Feb 17 23

ElasticCloud (EC): Installation & Configuration

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

Installation

The ElasticCloud provider is available as a package in all Pulumi languages:

Configuring The Provider

Pulumi relies on the ElasticCloud SDK to authenticate requests from your computer to ElasticCloud. Your credentials are never sent to pulumi.com. Once the credentials are obtained, there are two ways to communicate your configuration parameters to Pulumi:

  1. Set the environment variable EC_API_KEY:

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

    $ pulumi config set ec:apikey XXXXXX --secret
    

The complete list of configuration parameters is in the ElasticCloud provider README.