Skip to content

Commit

Permalink
Add notice about omitting the name property
Browse files Browse the repository at this point in the history
  • Loading branch information
jianyuan committed Jan 19, 2023
1 parent 92b8865 commit 3d60766
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/resources/issue_alert.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "sentry_issue_alert Resource - terraform-provider-sentry"
subcategory: ""
description: |-
Sentry Issue Alert resource. Note that there's no public documentation for the values of conditions, filters, and actions. You can either inspect the request payload sent when creating or editing an issue alert on Sentry or inspect Sentry's rules registry in the source code https://github.com/getsentry/sentry/tree/master/src/sentry/rules.
Sentry Issue Alert resource. Note that there's no public documentation for the values of conditions, filters, and actions. You can either inspect the request payload sent when creating or editing an issue alert on Sentry or inspect Sentry's rules registry in the source code https://github.com/getsentry/sentry/tree/master/src/sentry/rules. Since v0.11.2, you should also omit the name property of each condition, filter, and action.
---

# sentry_issue_alert (Resource)

Sentry Issue Alert resource. Note that there's no public documentation for the values of conditions, filters, and actions. You can either inspect the request payload sent when creating or editing an issue alert on Sentry or inspect [Sentry's rules registry in the source code](https://github.com/getsentry/sentry/tree/master/src/sentry/rules).
Sentry Issue Alert resource. Note that there's no public documentation for the values of conditions, filters, and actions. You can either inspect the request payload sent when creating or editing an issue alert on Sentry or inspect [Sentry's rules registry in the source code](https://github.com/getsentry/sentry/tree/master/src/sentry/rules). Since v0.11.2, you should also omit the name property of each condition, filter, and action.

## Example Usage

Expand Down
3 changes: 2 additions & 1 deletion sentry/resource_sentry_issue_alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ func resourceSentryIssueAlert() *schema.Resource {
Description: "Sentry Issue Alert resource. Note that there's no public documentation for the " +
"values of conditions, filters, and actions. You can either inspect the request " +
"payload sent when creating or editing an issue alert on Sentry or inspect " +
"[Sentry's rules registry in the source code](https://github.com/getsentry/sentry/tree/master/src/sentry/rules).",
"[Sentry's rules registry in the source code](https://github.com/getsentry/sentry/tree/master/src/sentry/rules). " +
"Since v0.11.2, you should also omit the name property of each condition, filter, and action.",

CreateContext: resourceSentryIssueAlertCreate,
ReadContext: resourceSentryIssueAlertRead,
Expand Down

0 comments on commit 3d60766

Please sign in to comment.