From 7111828f437c3888cd9c089c383b2ba169f2ad7c Mon Sep 17 00:00:00 2001 From: ponkio-o <29038315+ponkio-o@users.noreply.github.com> Date: Fri, 2 Dec 2022 12:53:39 +0900 Subject: [PATCH] fixed resource schema for sigsci_site_rule --- provider/resource_site_rule.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/provider/resource_site_rule.go b/provider/resource_site_rule.go index 744a9c3..4462917 100644 --- a/provider/resource_site_rule.go +++ b/provider/resource_site_rule.go @@ -50,7 +50,8 @@ func resourceSiteRule() *schema.Resource { "requestlogging": { Type: schema.TypeString, Description: "Indicates whether to store the logs for requests that match the rule's conditions (sampled) or not store them (none). This field is only available for request rules that have a block or allow action.", - Required: false, + Optional: true, + Default: "sampled", }, "actions": { Type: schema.TypeSet,