datadog_integration_pagerduty_service_object (Resource)

Provides access to individual Service Objects of Datadog - PagerDuty integrations. Note that the Datadog - PagerDuty integration must be activated in the Datadog UI in order for this resource to be usable.

Example Usage

resource "datadog_integration_pagerduty_service_object" "testing_foo" {
  service_name = "testing_foo"
  service_key  = "9876543210123456789"
}

resource "datadog_integration_pagerduty_service_object" "testing_bar" {
  service_name = "testing_bar"
  service_key  = "54321098765432109876"
}

Schema

Required

Read-Only

Import

Import is supported using the following syntax:

# Pagerduty service object can be imported using the service_name, while the service_key should be passed by setting the environment variable SERVICE_KEY
SERVICE_KEY=${service_key} terraform import datadog_integration_pagerduty_service_object.foo ${service_name}