Managing Datadog with Pulumi: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 19: Line 19:
</syntaxhighlight>
</syntaxhighlight>
==Environment==
==Environment==
The following environment variables are required: <code>DATADOG_API_KEY</code> and <code>DATADOG_APP_KEY</code>. The alternative to using environment variable is to use Pulumi stack configuration:
<syntaxhighlight lang='bash'>
pulumi config set datadog:apiKey XXXXXXXXXXXXXX --secret
pulumi config set datadog:appKey YYYYYYYYYYYYYY --secret
</syntaxhighlight>

Revision as of 22:42, 19 January 2022

External

Datadog SDK Internal

Datadog Resource Provider

The Datadog resource provider is an implementation of Pulumi resource provider aimed at allowing Pulumi to provision infrastructure on a Datadog backend. The latest version of the Python implementation is available here: https://pypi.org/project/pulumi-datadog/

Datadog SDK Installation

pip install pulumi_datadog

Environment

The following environment variables are required: DATADOG_API_KEY and DATADOG_APP_KEY. The alternative to using environment variable is to use Pulumi stack configuration:

pulumi config set datadog:apiKey XXXXXXXXXXXXXX --secret
pulumi config set datadog:appKey YYYYYYYYYYYYYY --secret