Skip to content

Commit 577bcca

Browse files
authored
bugfix: validate name length in sentry_issue_alert resource (#260)
1 parent 6688c4e commit 577bcca

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sentry/resource_sentry_issue_alert.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@ func resourceSentryIssueAlertSchema() map[string]*schema.Schema {
5454
Required: true,
5555
},
5656
"name": {
57-
Description: "The issue alert name.",
58-
Type: schema.TypeString,
59-
Required: true,
57+
Description: "The issue alert name.",
58+
Type: schema.TypeString,
59+
Required: true,
60+
ValidateFunc: validation.StringLenBetween(1, 64),
6061
},
6162
"conditions": {
6263
Description: "List of conditions.",

0 commit comments

Comments
 (0)