Skip to content

Commit 36bb083

Browse files
authored
docs: Clarify _v2 attribute availability version in issue alert documentation and schema. (#729)
1 parent d4a8f8f commit 36bb083

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docs/resources/issue_alert.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@ page_title: "sentry_issue_alert Resource - terraform-provider-sentry"
44
subcategory: ""
55
description: |-
66
Create an Issue Alert Rule for a Project. See the Sentry Documentation https://docs.sentry.io/api/alerts/create-an-issue-alert-rule-for-a-project/ for more information.
7-
NOTE: Since v0.15.0, the conditions, filters, and actions attributes which are JSON strings have been deprecated in favor of conditions_v2, filters_v2, and actions_v2 which are lists of objects.
7+
NOTE: The conditions, filters, and actions attributes, which are JSON strings, have been deprecated in favor of conditions_v2, filters_v2, and actions_v2, which are lists of objects.
8+
The *_v2 attributes are available starting from v0.14.2.
89
---
910

1011
# sentry_issue_alert (Resource)
1112

1213
Create an Issue Alert Rule for a Project. See the [Sentry Documentation](https://docs.sentry.io/api/alerts/create-an-issue-alert-rule-for-a-project/) for more information.
1314

14-
**NOTE:** Since v0.15.0, the `conditions`, `filters`, and `actions` attributes which are JSON strings have been deprecated in favor of `conditions_v2`, `filters_v2`, and `actions_v2` which are lists of objects.
15+
**NOTE:** The `conditions`, `filters`, and `actions` attributes, which are JSON strings, have been deprecated in favor of `conditions_v2`, `filters_v2`, and `actions_v2`, which are lists of objects.
16+
17+
The `*_v2` attributes are available starting from v0.14.2.
1518

1619
## Example Usage
1720

internal/provider/resource_issue_alert.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ func (r *IssueAlertResource) Schema(ctx context.Context, req resource.SchemaRequ
5959

6060
resp.Schema = schema.Schema{
6161
MarkdownDescription: "Create an Issue Alert Rule for a Project. See the [Sentry Documentation](https://docs.sentry.io/api/alerts/create-an-issue-alert-rule-for-a-project/) for more information.\n\n" +
62-
"**NOTE:** Since v0.15.0, the `conditions`, `filters`, and `actions` attributes which are JSON strings have been deprecated in favor of `conditions_v2`, `filters_v2`, and `actions_v2` which are lists of objects.",
62+
"**NOTE:** The `conditions`, `filters`, and `actions` attributes, which are JSON strings, have been deprecated in favor of `conditions_v2`, `filters_v2`, and `actions_v2`, which are lists of objects.\n\n" +
63+
"The `*_v2` attributes are available starting from v0.14.2.",
6364

6465
Version: 2,
6566

0 commit comments

Comments
 (0)