Skip to content

Commit

Permalink
Change filter_detail to detail_filter in recipients docs (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
aelmekeev authored Jul 28, 2022
1 parent a82c49b commit 785c811
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/data-sources/recipient.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If you want to match multiple recipients, use the `honeycombio_recipients` data
data "honeycombio_recipient" "slack" {
type = "slack"
filter_detail {
detail_filter {
name = "channel"
value = "honeycomb-triggers"
}
Expand Down Expand Up @@ -67,7 +67,7 @@ pagerduty | _N/A_
slack | name of the channel
webhook | name of the webhook

To further filter the recipient results, a `filter_detail` block can be provided which accepts the following arguments:
To further filter the recipient results, a `detail_filter` block can be provided which accepts the following arguments:

* `name` - (Required) The name of the detail field to filter by. Allowed values are `address`, `channel`, `name`, `integration_name`, and `url`.
* `value` - (Optional) The value of the detail field to match on.
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/recipients.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The following arguments are supported:
* `type` - (Optional) The type of recipient, allowed types are `email`, `pagerduty`, `slack` and `webhook`.
* `detail_filter` - (Optional) a block to further filter recipients as described below. `type` must be set when providing a filter.

To further filter the recipient results, a `filter_detail` block can be provided which accepts the following arguments:
To further filter the recipient results, a `detail_filter` block can be provided which accepts the following arguments:

* `name` - (Required) The name of the detail field to filter by. Allowed values are `address`, `channel`, `name`, `integration_name`, and `url`.
* `value` - (Optional) The value of the detail field to match on.
Expand Down

0 comments on commit 785c811

Please sign in to comment.