trussworks / terraform-aws-wafv2

Creates a WAF using AWS WAFv2 and AWS Managed Rule Sets
https://registry.terraform.io/modules/trussworks/wafv2
Apache License 2.0
104 stars 58 forks source link

Typing Issues #104

Closed chtakahashi closed 1 year ago

chtakahashi commented 1 year ago

The most recent minor version change introduces the following error:

│     ├────────────────
│     │ rule.value is object with 4 attributes
│
│ This object does not have an attribute named "search_string".

The issue is that the object structure specified under the dynamic "rule" is missing the search_string field.

Also addressed the fact that the variable specification of search_string is a string (and the string is used in string comparisons against "") but the default value is null.

rpdelaney commented 1 year ago

v2.6.2