---
layout: "fastly"
page_title: "Fastly: ngwaf_alert_pagerduty_integration"
sidebar_current: "docs-fastly-resource-ngwaf-alert-pagerduty-integration"
description: |-
  Provides a Fastly Next-Gen WAF Alert PagerDuty integration for a Workspace
---

# fastly_ngwaf_alert_pagerduty_integration

Provides Fastly Next-Gen WAF Alert PagerDuty integrations, which provide a connection to PagerDuty.

## Example Usage

Basic usage:

```terraform
resource "fastly_ngwaf_alert_pagerduty_integration" "demo_pagerduty_alert" {
  description    = "Some Description"
  key            = "1234567890abcdef1234567890abcdef"
  workspace_id   = fastly_ngwaf_workspace.demo.id
}
```

## Import

Fastly Next-Gen WAF Alert PagerDuty integrations can be imported using their ID and the ID of the workspace they belong to.

```sh
$ terraform import fastly_ngwaf_alert_pagerduty_integration.example <workspace_id>/<alert_id>
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `key` (String, Sensitive) The PagerDuty integration key.
- `workspace_id` (String) The ID of the workspace.

### Optional

- `description` (String) The description of the alert.

### Read-Only

- `id` (String) The ID of this resource.