platform

cloudposse/platform/datadog

Terraform Module HCL DATADOG

Terraform module to configure and provision Datadog monitors, custom RBAC roles with permissions, Datadog synthetic tests, Datadog child organizations, and other Datadog resources from a YAML configuration, complete with automated tests.

Install
module "platform" {
source = "cloudposse/platform/datadog"
version = "1.7.0"
}
plain text: /constructs/tfmod-cloudposse-platform-datadog/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform module to provision Datadog resources. The module consists of the following submodules: - monitors - to provision Datadog monitors - synthetics - to provision Datadog synthetics - permissions - to look up all available Datadog permissions - roles - to provision Datadog roles - slo - to provision Datadog Service Level Objectives - child_organization - to provision Datadog child organizations - organization_settings - to manage Datadog organization's settings __Notes on Datadog child organizations:__ Users can be added to the parent-organization and/or multiple child-organizations and switch between them from the user account settings menu The parent-organization can view the usage of individual child-organizations, allowing them to track trends in usage The Multi-organization acco

Inputs (22)
NameTypeDescriptionDefault
datadog_monitorsmap(object({ name Map of Datadog monitor configurations. See catalog for examples required
namestringID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thinull
delimiterstringDelimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` null
label_orderlist(string)The order in which the labels (ID elements) appear in the `id`. Defaults to ["nanull
regex_replace_charsstringTerraform regular expression (regex) string. Characters matching the regex will null
label_key_casestringControls the letter case of the `tags` keys (label names) for tags generated by null
label_value_casestringControls the letter case of ID elements (labels) as included in `id`, set as tagnull
contextanySingle object for setting entire context at once. See description of individual { "additional_tag_map": {}, "attribu
enabledboolSet to false to prevent the module from creating any resourcesnull
tenantstringID element _(Rarely used, not included by default)_. A customer identifier, indinull
environmentstringID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'stnull
stagestringID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bunull
tagsmap(string)Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t{}
additional_tag_mapmap(string)Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add{}
descriptor_formatsanyDescribe additional descriptors to be output in the `descriptors` output map. Ma{}
namespacestringID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp'null
attributeslist(string)ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, []
id_length_limitnumberLimit `id` to this many characters (minimum 6). Set to `0` for unlimited length.null
alert_tagslist(string)List of alert tags to add to all alert messages, e.g. `["@opsgenie"]` or `["@devnull
alert_tags_separatorstringSeparator for the alert tags. All strings from the `alert_tags` variable will be"\n"
restricted_roles_mapmap(set(string))Map of monitors names to sets of Datadog roles to restrict access to each monito{}
Outputs (3)
datadog_monitor_names — Names of the created Datadog monitors
datadog_monitor_ids — IDs of the created Datadog monitors
datadog_monitors — Datadog monitor outputs
Resources (1)
datadog_monitor
Details
FrameworkTerraform Module
LanguageHCL
Version1.7.0
Cloud DATADOG
★ Stars123
Forks61
Total downloads984.8k
Inputs22
Outputs3
Resources1
Examples6
Submodules7
LicenseApache-2.0
Namespacecloudposse
Updated