0
0
llucycodes42
This code configures a pagerduty service integration. The name setting is the name of the integration and the description setting is the description of the integration. The type setting is set to generic_events_api_inbound_integration . The service setting points to the pagerduty service's id and the vendor setting points to the data.pagerduty_vendor.datadog.id .
Shortcut: tf_pagerduty_service_integration
resource "pagerduty_service_integration" "${myResourceName}" {
name = "my-${myResourceName}"
description = "my-description-${myResourceName}"
type = "generic_events_api_inbound_integration"
service = "\${pagerduty_service.example.id}"
vendor = "\${data.pagerduty_vendor.datadog.id}"
}