Datadog Pulumi Project main .py: Difference between revisions
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
=Internal= | |||
* [[Managing_Datadog_with_Pulumi#Project_Template|Managing Datadog with Pulumi]] | |||
=Content= | =Content= | ||
<syntaxhighlight lang='python'> | <syntaxhighlight lang='python'> | ||
Line 15: | Line 18: | ||
# Provision a Datadog User. | # Provision a Datadog User. | ||
# | # | ||
user = datadog.User("pulumi-provisioned-test-user", email='test@ | user = datadog.User("pulumi-provisioned-test-user", email='test@example.com', name="Pulumi-provisioned Test User") | ||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 00:06, 20 January 2022
Internal
Content
import pulumi_datadog as datadog
#
# Provision a Datadog Dashboard
#
dashboard = datadog.Dashboard("Test Dashboard",
description="A test dashboard automatically provisioned by Pulumi",
title="Test Dashboard provisioned by Pulumi",
is_read_only=False,
layout_type="free",
template_variables=[ ...]...)
#
# Provision a Datadog User.
#
user = datadog.User("pulumi-provisioned-test-user", email='test@example.com', name="Pulumi-provisioned Test User")