Documentation resource aws_waf_rule is wrong #2655
Labels
documentation
Introduces or discusses updates to documentation.
service/waf
Issues and PRs that pertain to the waf service.
Hi there,
Terraform Version
N/A
Affected Resource(s)
aws_waf_rule
Terraform Configuration Files
Debug Output
Expected Behavior
Terraform AWS Provider is fine, but the doc is wrong
Actual Behavior
Doc is saying:
https://www.terraform.io/docs/providers/aws/r/waf_rule.html
Argument Reference:
predicates - (Optional) One of ByteMatchSet, IPSet, SizeConstraintSet, SqlInjectionMatchSet, or XssMatchSet objects to include in a rule.
Nested Blocks:
type - (Required) The type of predicate in a rule, such as ByteMatchSet or IPSet
It should be IPMatch, not IPSet, as per the example in the same doc.
Also, the Argument reference is IMHO wrong since it attempt a nested block, right ?
The text was updated successfully, but these errors were encountered: