From 1367eb81f8346c2cff226b2087320a56f1ec51cd Mon Sep 17 00:00:00 2001 From: Florian Gessner Date: Mon, 6 Nov 2023 21:02:58 +0100 Subject: [PATCH] #206: fix min value of rollup --- instana/resource-custom-event-specficiation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instana/resource-custom-event-specficiation.go b/instana/resource-custom-event-specficiation.go index acae53a8..6b5d4bf2 100644 --- a/instana/resource-custom-event-specficiation.go +++ b/instana/resource-custom-event-specficiation.go @@ -317,7 +317,7 @@ func NewCustomEventSpecificationResourceHandle() ResourceHandle[*restapi.CustomE CustomEventSpecificationThresholdRuleFieldRollup: { Type: schema.TypeInt, Optional: true, - ValidateFunc: validation.IntAtLeast(1), + ValidateFunc: validation.IntAtLeast(0), Description: "The rollup of the metric", }, CustomEventSpecificationThresholdRuleFieldWindow: {