Managing Datadog with Pulumi: Difference between revisions
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
pulumi config set datadog:appKey YYYYYYYYYYYYYY --secret | pulumi config set datadog:appKey YYYYYYYYYYYYYY --secret | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Optionally, the API URL can be specified with <code>DATADOG_HOST</code>. If not specified, the default is "https://api.datadoghq.com/". | |||
=Project Template= | =Project Template= | ||
<font size=-1> | <font size=-1> |
Revision as of 01:16, 25 January 2022
External
- https://www.pulumi.com/registry/packages/datadog/
- API Docs https://www.pulumi.com/registry/packages/datadog/api-docs/
- GitHub Page: https://github.com/pulumi/pulumi-datadog/blob/master/README.md
- https://www.pulumi.com/resources/pulumipustv-fun-with-datadog-with-dan-maher
- https://docs.datadoghq.com/integrations/pulumi/
- PyPI Pulumi Datadog package https://pypi.org/project/pulumi-datadog/
- Fun With Datadog with Dan Maher
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
Optionally, the API URL can be specified with DATADOG_HOST
. If not specified, the default is "https://api.datadoghq.com/".
Project Template
├─ .gitignore ├─ Pulumi.yaml ├─ requirements.txt └─ __main__.py