Datadog Provider
The Datadog resource provider for Pulumi lets you configure Datadog resources in your cloud programs. To use
this package, please install the Pulumi CLI first.
Installing
This package is available in many languages in the standard packaging formats.
Node.js (Java/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either npm
:
$ npm install @pulumi/datadog
or yarn
:
$ yarn add @pulumi/datadog
Python
To use from Python, install using pip
:
$ pip install pulumi_datadog
Go
To use from Go, use go get
to grab the latest version of the library
$ go get github.com/pulumi/pulumi-datadog/sdk/go/datadog/...
A module definition is provided as part of the Datadog package.
Configuration
The following configuration points are available:
- apiKey (Required) - Datadog API key. This can also be set via the
DATADOG_API_KEY
environment variable. - appKey (Required) - Datadog APP key. This can also be set via the
DATADOG_APP_KEY
environment variable. - apiUrl (Optional) - The API Url. This can be also be set via the DATADOG_HOST environment variable.
Note that this URL must not end with the
/api/
path. For example, https://api.datadoghq.com/
is a correct value,
while https://api.datadoghq.com/api/
is not.
Reference
For detailed reference documentation, please visit the API docs.
Updating this provider
The datadog Resource Provider for Pulumi is based on the Terraform Provider for
datadog. Instructions for keeping it up to date are available here.