Skip to content

Commit

Permalink
Update resource_newrelic_nrql_alert_condition.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgoodhouse authored Oct 17, 2019
1 parent 118e724 commit 683e727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newrelic/resource_newrelic_nrql_alert_condition.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func resourceNewRelicNrqlAlertCondition() *schema.Resource {
"duration": {
Type: schema.TypeInt,
Required: true,
ValidateFunc: intInSlice([]int{1, 2, 3, 4, 5, 10, 15, 30, 60, 120}),
ValidateFunc: validation.IntBetween(2, 120),
},
"operator": {
Type: schema.TypeString,
Expand Down

0 comments on commit 683e727

Please sign in to comment.