This Terraform module creates an AWS WAFv2 WebACL with associated rules and conditions.
- Regional vs Global rules: This module only supports
regional
rules for now. - Recursive rules are not supported by this module(
and_statement
,not_statement
andor_statement
). - Statements not yet implemented:
label_match_statement
regex_match_statement
size_constraint_statement
sqli_match_statement
xss_match_statement
managed_rule_group_statement
rule_group_reference_statement
Github mBlomsterberg
File |
description |
---|---|
.github/ISSUE_TEMPLATE | Configuring issue templates for your repository |
.github/pull_request_template.yml | Configuring default PR template for your repository |
.github/dependabot.yml | Customize how Dependabot maintains your repositories |
CODE_OF_CONDUCT.md | Defines standards for how to engage in a community |
CONTRIBUTING.md | Contribution guidelines to your project's repository |
SECURITY.md | To give people instructions on how to report security vulnerabilities |
SUPPORT.md | Let people know about ways to get help with your project |
CODEOWNERS | Define individuals or teams that are responsible for code in a repository |
LICENSE | A software license tells others what they can and can't do with your source code |
Should your repository be open to an external or onboarding new members you can create guidelines to communicate how people should contribute to your project. Example.
This project has adopted the Hanayama Co. Code of Conduct. For more information see the Code of Conduct FAQ or contact mBlomsterberg with any additional questions or comments.
Copyright (c) mBlomsterberg All rights reserved.
Licensed under the MIT license.
Name | Version |
---|---|
terraform | <= 1.5.5 |
aws | ~> 5.57.0 |
Name | Version |
---|---|
aws | ~> 5.57.0 |
No modules.
Name | Type |
---|---|
aws_wafv2_web_acl.regional | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
association_config | (Optional) Configuration block defining the association configuration. | object({ |
null |
no |
captcha_config | (Optional) Configuration block defining the captcha configuration. | object({ |
null |
no |
challenge_config | (Optional) Configuration block defining the challenge configuration. | object({ |
null |
no |
custom_response_bodies | (Optional) Configuration block to define custom response body. | list(object({ |
[] |
no |
default_action | (Required) Configuration block defining the default action to take when a request doesn't match any rule. | object({ |
{ |
no |
description | (Optional) The description of the WAF WebACL. | string |
null |
no |
name | (Required) The name of the WAF WebACL. | string |
n/a | yes |
rules | (Optional) Configuration block defining a rule. | list(object({ |
null |
no |
scope | (Optional) The scope of the WAF WebACL. Valid values are REGIONAL or CLOUDFRONT. Defaults to REGIONAL. | string |
"REGIONAL" |
no |
tags | (Optional) A mapping of tags to assign to the resource. | map(string) |
{} |
no |
visibility_config | (Optional) Configuration block to enable CloudWatch metrics and sample requests. | object({ |
{ |
no |
Name | Description |
---|---|
application_integration_url | n/a |
arn | n/a |
capacity | n/a |
id | n/a |
tags_all | n/a |