---
layout: "fastly"
page_title: "Fastly: ngwaf_alert_slack_integration"
sidebar_current: "docs-fastly-resource-ngwaf-alert-slack-integration"
description: |-
  Provides a Fastly Next-Gen WAF Alert Slack integration for a Workspace
---

# fastly_ngwaf_alert_slack_integration

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

## Example Usage

Basic usage:

```terraform
resource "fastly_ngwaf_alert_slack_integration" "demo_slack_alert" {
  description    = "Some Description"
  webhook        = "https://example.com/webhooks/my-service"
  workspace_id   = fastly_ngwaf_workspace.demo.id
}
```

## Import

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

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

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

### Required

- `webhook` (String, Sensitive) The Slack webhook URL.
- `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.