From 3d7f074b835adab8253933e12f8f220f0bea1436 Mon Sep 17 00:00:00 2001 From: Pawel Date: Wed, 10 Jul 2024 14:56:19 -0700 Subject: [PATCH] fixing documentation --- .github/workflows/release.yml | 6 ++++++ docs/resources/notification.md | 2 ++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f81c7732..aff37908 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,12 @@ jobs: release: name: Semantic Release runs-on: ubuntu-latest + + permissions: + actions: read + contents: write + packages: write + steps: - name: Checkout diff --git a/docs/resources/notification.md b/docs/resources/notification.md index 13a3062a..675ab97d 100644 --- a/docs/resources/notification.md +++ b/docs/resources/notification.md @@ -32,6 +32,7 @@ provider "rollbar" { resource "rollbar_notification" "email" { channel = "email" rule { + enabled = true trigger = "occurrence_rate" filters { type = "rate" @@ -56,6 +57,7 @@ The following arguments are supported: * `config` - (Required) An array of configurations for notification rules. Structure is [documented below](#nested_config) The `rule` block supports: +* `enabled` - (Optional) Boolean that enables the rule notification. The default value is `true`. * `trigger` - (Required) The category of trigger evaluations using the expressions defined in filters block(s). * `filters` - (Required) One or more nested configuration blocks that define filter expressions. Structure is [documented below](#nested_filters)