Skip to content

Commit

Permalink
docs: change the slack channel instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
nzur-newrelic committed Oct 5, 2023
1 parent 9ab53fb commit 913e634
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/docs/r/notification_channel.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ Each notification channel type supports a specific set of arguments for the `pro
* `email` - (Required) Specifies the user email for integrating with Pagerduty.
* `customDetails` - (Optional) Free text that *replaces* the content of the alert.
* `SLACK`
* `channelId` - (Required) Specifies the Slack channel id. This can be found in slack browser via the url. Example - https://app.slack.com/client/\<UserId>/\<ChannelId>.
* `customDetailsSlack` - (Optional) A map of key/value pairs that represents the slack custom details. Must be compatible with Slack's blocks api.
* `channelId` - (Optional) Specifies the Slack channel id. This can be found in slack browser via the url. Example - https://app.slack.com/client/\<UserId>/\<ChannelId>.
* `channelName` - (Optional) Specifies the Slack channel name.
* `customDetailsSlack` - (Optional) A map of key/value pairs that represents the slack custom details. Must be compatible with Slack's blocks api. \
**Note**: The `SLACK` properties must include either channelId or channelName (not both).

## Attributes Reference

Expand Down

0 comments on commit 913e634

Please sign in to comment.