From 8b5e241f4fc32ecf2e8903d62837e5c6eca2d0a0 Mon Sep 17 00:00:00 2001 From: shawnps Date: Wed, 19 Jul 2023 11:12:30 +0900 Subject: [PATCH] remove ForceNew attribute from site rule actions.type (#193) * remove ForceNew attribute from site rule actions.type * add ForceNew to site rule type --- provider/resource_site_rule.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/resource_site_rule.go b/provider/resource_site_rule.go index 64ddf2c..dd90610 100644 --- a/provider/resource_site_rule.go +++ b/provider/resource_site_rule.go @@ -21,6 +21,7 @@ func resourceSiteRule() *schema.Resource { Type: schema.TypeString, Description: "Type of rule (request, signal, rateLimit)", Required: true, + ForceNew: true, }, "group_operator": { Type: schema.TypeString, @@ -64,7 +65,6 @@ func resourceSiteRule() *schema.Resource { Type: schema.TypeString, Description: "(block, allow, excludeSignal, addSignal) (rateLimit rule valid values: logRequest, blockSignal)", Required: true, - ForceNew: true, }, "signal": { Type: schema.TypeString,