The Elastic Cloud Resource Provider lets you manage Elastic Cloud resources.
This package is available for several languages/platforms:
To use from JavaScript or TypeScript in Node.js, install using either npm
:
npm install @pulumi/ec
or yarn
:
yarn add @pulumi/ec
To use from Python, install using pip
:
pip install pulumi_ec
To use from Go, use go get
to grab the latest version of the library:
go get github.com/pulumi/pulumi-ec/sdk
To use from .NET, install using dotnet add package
:
dotnet add package Pulumi.ElasticCloud
The following configuration points are available for the ec
provider:
-
ec:endpoint
: The Elastic Cloud endpoint to which requests should be sent. This value should be specified only when using the Elastic Cloud provider with an ECE installation or ESS Private. -
ec:apikey
: The Elastic Cloud API key, recommended overusername
andpassword
to authenticate against the Elastic Cloud API. May also be sourced from environment variableEC_API_KEY
. -
ec:username
: The Elastic Cloud username. May also be sourced from environment variableEC_USER
orEC_USERNAME
. Conflicts withec:apiKey
. Not recommened - prefer usingec:apikey
overec:username
andec:password
. -
ec:password
: The Elastic Cloud user's password. May also be sourced from environment variableEC_PASS
orEC_PASSWORD
. Conflicts withec:apiKey
. Not recommened - prefer usingec:apikey
overec:username
andec:password
. -
ec:insecure
: Iftrue
, allows the provider to skip TLS verification (not recommended). Defaults tofalse
. -
ec:timeout
: Allows the user to set a custom timeout in the individual HTTP request level. Defaults to 1 minute ("1m"
), but can be extended if timeouts are experienced. -
ec:verbose
: When set to true, it writes a requests.json file in the folder where Terraform runs with all the outgoing HTTP requests and responses. Defaults to false. -
ec:verboseCredentials
: If set totrue
andec:verbose
is set totrue
, the contents of the Authorization header will not be redacted. Defaults tofalse
. -
ec:verboseFile
: Sets the name of the file to which verbose request and response HTTP flow will be written. Defaults torequest.log
.
Either ec:endpoint
or (ec:username
and ec:password
) must be specified. All other parameters are optional:
For detailed reference documentation, please visit the Pulumi registry.