Closed tatdatpham closed 2 years ago
Hmm, I found the problem.
In your module, managed_rules is enabled by default, must set managed_rules = []
to overwrite default if you don't need adding manage rule into Web ACL
@tatdatpham That's correct. By default, this module's managed_rules
variable adds certain AWS managed rules to the Web ACL, but the variable can be set to a custom list or []
when using the module.
It sounds like that resolves this issue's original question, so I'll close the issue for now. Feel free to reopen or file a new issue if you have any other questions.
Here is my Terraform code
My rule group has only rule block all requests if its not come from a specific IP set. (Capacity 100). But when I run plan check change, have many default rule added to WEB ACL ? And I can't create Webacl, it said
Here is plan change log