From 683e727a18c1e61c60b94471548dd892a1d83f06 Mon Sep 17 00:00:00 2001 From: James Goodhouse Date: Wed, 16 Oct 2019 20:56:15 -0700 Subject: [PATCH] Update resource_newrelic_nrql_alert_condition.go --- newrelic/resource_newrelic_nrql_alert_condition.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newrelic/resource_newrelic_nrql_alert_condition.go b/newrelic/resource_newrelic_nrql_alert_condition.go index d9a939e2c..0c4fddd24 100644 --- a/newrelic/resource_newrelic_nrql_alert_condition.go +++ b/newrelic/resource_newrelic_nrql_alert_condition.go @@ -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,