From cce352340b5936dfa4289fb64648309d12700a4a Mon Sep 17 00:00:00 2001 From: Alex Elmekeev Date: Thu, 28 Jul 2022 13:04:10 +0100 Subject: [PATCH] Change filter_detail to detail_filter in recipients docs --- docs/data-sources/recipient.md | 4 ++-- docs/data-sources/recipients.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/data-sources/recipient.md b/docs/data-sources/recipient.md index 4019f15f..a2a6a86c 100644 --- a/docs/data-sources/recipient.md +++ b/docs/data-sources/recipient.md @@ -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" } @@ -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. diff --git a/docs/data-sources/recipients.md b/docs/data-sources/recipients.md index 28fd4314..96402fb1 100644 --- a/docs/data-sources/recipients.md +++ b/docs/data-sources/recipients.md @@ -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.