Skip to content

Commit

Permalink
Increase alert name limit to the real limit (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
JParisFerrer authored Jul 20, 2024
1 parent 68b7cf7 commit 6496f56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/provider/resource_issue_alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Please note the following changes since v0.12.0:
MarkdownDescription: "The issue alert name.",
Required: true,
Validators: []validator.String{
stringvalidator.LengthBetween(1, 64),
stringvalidator.LengthBetween(1, 255),
},
},
"conditions": schema.StringAttribute{
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_issue_alert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func TestAccIssueAlertResource_MigrateFromPluginSDK(t *testing.T) {
rn := "sentry_issue_alert.test"
team := acctest.RandomWithPrefix("tf-team")
project := acctest.RandomWithPrefix("tf-project")
alert := acctest.RandomWithPrefix("tf-issue-alert")
alert := acctest.RandomWithPrefix("tf-issue-alert-with-a-very-looooong-name-greater-than-64-characters")
var alertId string

resource.Test(t, resource.TestCase{
Expand Down

0 comments on commit 6496f56

Please sign in to comment.