Datadog Provider

The Datadog provider is used to interact with the resources supported by Datadog. The provider needs to be configured with the proper credentials before it can be used. It requires terraform 0.12 or later.

Try the hands-on tutorial on the Datadog provider on the HashiCorp Learn site.

Use the navigation to the left to read about the available resources.

Example Usage

# Terraform 0.13+ uses the Terraform Registry:

terraform {
  required_providers {
    datadog = {
      source = "DataDog/datadog"
    }
  }
}


# Configure the Datadog provider
provider "datadog" {
  api_key = var.datadog_api_key
  app_key = var.datadog_app_key
}



# Terraform 0.12- can be specified as:

# Configure the Datadog provider
# provider "datadog" {
#   api_key = "${var.datadog_api_key}"
#   app_key = "${var.datadog_app_key}"
# }

Schema

Optional