datadog_integration_azure (Resource)

Provides a Datadog - Microsoft Azure integration resource. This can be used to create and manage the integrations.

Example Usage

# Create a new Datadog - Microsoft Azure integration
resource "datadog_integration_azure" "sandbox" {
  tenant_name              = "<azure_tenant_name>"
  client_id                = "<azure_client_id>"
  client_secret            = "<azure_client_secret_key>"
  host_filters             = "examplefilter:true,example:true"
  app_service_plan_filters = "examplefilter:true,example:another"
  container_app_filters    = "examplefilter:true,example:one_more"
  automute                 = true
  cspm_enabled             = true
  custom_metrics_enabled   = false
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

# Microsoft Azure integrations can be imported using their `tenant name` and `client` id separated with a colon (`:`).
terraform import datadog_integration_azure.sandbox ${tenant_name}:${client_id}