diff --git a/docs/resources/site_templated_rule.md b/docs/resources/site_templated_rule.md index 51bc596..49e5683 100644 --- a/docs/resources/site_templated_rule.md +++ b/docs/resources/site_templated_rule.md @@ -96,7 +96,7 @@ Required: Required: -- `action` (String) +- `action` (String) To block requests immediately use (blockImmediate), Threshold level blocking: For logging use (info), for blocking use (template) - `block_duration_seconds` (Number) - `enabled` (Boolean) - `long_name` (String) diff --git a/provider/resource_site_templated_rule.go b/provider/resource_site_templated_rule.go index d4dc188..178b69b 100644 --- a/provider/resource_site_templated_rule.go +++ b/provider/resource_site_templated_rule.go @@ -104,8 +104,9 @@ func resourceSiteTemplatedRule() *schema.Resource { Required: true, }, "action": { - Type: schema.TypeString, - Required: true, + Type: schema.TypeString, + Description: "To block requests immediately use (blockImmediate), Threshold level blocking: For logging use (info), for blocking use (template)", + Required: true, }, "block_duration_seconds": { Type: schema.TypeInt,