You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aname="input_association_resources"></a> [association\_resources](#input\_association\_resources)| ARN of the ALB, CloudFront, Etc to be associated with the WAFv2 ACL. |`list(string)`|`[]`| no |
104
-
| <aname="input_default_action"></a> [default\_action](#input\_default\_action)| The action to perform if none of the rules contained in the WebACL match. |`string`|`"block"`| no |
105
-
| <aname="input_environment"></a> [environment](#input\_environment)| Environment Variable used as a prefix |`string`| n/a | yes |
106
-
| <aname="input_ip_rate_based_rule"></a> [ip\_rate\_based\_rule](#input\_ip\_rate\_based\_rule)| A rate-based rule tracks the rate of requests for each originating IP address, and triggers the rule action when the rate exceeds a limit that you specify on the number of requests in any 5-minute time span | <pre>object({<br> name = string<br> priority = number<br> action = string<br> limit = number<br> })</pre> |`null`| no |
107
-
| <aname="input_ip_sets_rule"></a> [ip\_sets\_rule](#input\_ip\_sets\_rule)| A rule to detect web requests coming from particular IP addresses or address ranges. | <pre>list(object({<br> name = string<br> priority = number<br> ip_set = list(string)<br> action = string<br> ip_address_version = string<br> }))</pre> |`[]`| no |
108
-
| <aname="input_is_create_logging_configuration"></a> [is\_create\_logging\_configuration](#input\_is\_create\_logging\_configuration)| Whether to create logging configuration in order start logging from a WAFv2 Web ACL to CloudWatch |`bool`|`true`| no |
109
-
| <aname="input_is_enable_cloudwatch_metrics"></a> [is\_enable\_cloudwatch\_metrics](#input\_is\_enable\_cloudwatch\_metrics)| The action to perform if none of the rules contained in the WebACL match. |`bool`|`true`| no |
110
-
| <aname="input_is_enable_default_rule"></a> [is\_enable\_default\_rule](#input\_is\_enable\_default\_rule)| If true with enable default rule (detail in locals.tf) |`bool`|`true`| no |
111
-
| <aname="input_is_enable_sampled_requests"></a> [is\_enable\_sampled\_requests](#input\_is\_enable\_sampled\_requests)| Whether AWS WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the AWS WAF console. |`bool`|`true`| no |
112
-
| <aname="input_logging_filter"></a> [logging\_filter](#input\_logging\_filter)| A configuration block that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation. |`any`|`{}`| no |
113
-
| <aname="input_managed_rules"></a> [managed\_rules](#input\_managed\_rules)| List of Managed WAF rules. | <pre>list(object({<br> name = string<br> priority = number<br> override_action = string<br> excluded_rules = list(string)<br> }))</pre> |`[]`| no |
114
-
| <aname="input_name"></a> [name](#input\_name)| A friendly name of the WebACL. |`string`| n/a | yes |
115
-
| <aname="input_prefix"></a> [prefix](#input\_prefix)| The prefix name of customer to be displayed in AWS console and resource |`string`| n/a | yes |
116
-
| <aname="input_redacted_fields"></a> [redacted\_fields](#input\_redacted\_fields)| The parts of the request that you want to keep out of the logs. Up to 100 `redacted_fields` blocks are supported. |`any`|`[]`| no |
117
-
| <aname="input_scope"></a> [scope](#input\_scope)| The scope of this Web ACL. Valid options: CLOUDFRONT, REGIONAL. |`string`| n/a | yes |
118
-
| <aname="input_tags"></a> [tags](#input\_tags)| A mapping of tags to assign to the WAFv2 ACL. |`map(string)`|`{}`| no |
101
+
| Name | Description | Type | Default | Required |
| <aname="input_association_resources"></a> [association\_resources](#input\_association\_resources)| ARN of the ALB, CloudFront, Etc to be associated with the WAFv2 ACL. |`list(string)`|`[]`| no |
104
+
| <aname="input_cloudwatch_log_kms_key_id"></a> [cloudwatch\_log\_kms\_key\_id](#input\_cloudwatch\_log\_kms\_key\_id)| The ARN for the KMS encryption key. |`string`|`null`| no |
105
+
| <aname="input_cloudwatch_log_retention_in_days"></a> [cloudwatch\_log\_retention\_in\_days](#input\_cloudwatch\_log\_retention\_in\_days)| Specifies the number of days you want to retain log events Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653, and 0. If you select 0, the events in the log group are always retained and never expire |`number`|`90`| no |
106
+
| <aname="input_default_action"></a> [default\_action](#input\_default\_action)| The action to perform if none of the rules contained in the WebACL match. |`string`|`"block"`| no |
107
+
| <aname="input_environment"></a> [environment](#input\_environment)| Environment Variable used as a prefix |`string`| n/a | yes |
108
+
| <aname="input_ip_rate_based_rule"></a> [ip\_rate\_based\_rule](#input\_ip\_rate\_based\_rule)| A rate-based rule tracks the rate of requests for each originating IP address, and triggers the rule action when the rate exceeds a limit that you specify on the number of requests in any 5-minute time span | <pre>object({<br> name = string<br> priority = number<br> action = string<br> limit = number<br> })</pre> |`null`| no |
109
+
| <aname="input_ip_sets_rule"></a> [ip\_sets\_rule](#input\_ip\_sets\_rule)| A rule to detect web requests coming from particular IP addresses or address ranges. | <pre>list(object({<br> name = string<br> priority = number<br> ip_set = list(string)<br> action = string<br> ip_address_version = string<br> }))</pre> |`[]`| no |
110
+
| <aname="input_is_create_logging_configuration"></a> [is\_create\_logging\_configuration](#input\_is\_create\_logging\_configuration)| Whether to create logging configuration in order start logging from a WAFv2 Web ACL to CloudWatch |`bool`|`true`| no |
111
+
| <aname="input_is_enable_cloudwatch_metrics"></a> [is\_enable\_cloudwatch\_metrics](#input\_is\_enable\_cloudwatch\_metrics)| The action to perform if none of the rules contained in the WebACL match. |`bool`|`true`| no |
112
+
| <aname="input_is_enable_default_rule"></a> [is\_enable\_default\_rule](#input\_is\_enable\_default\_rule)| If true with enable default rule (detail in locals.tf) |`bool`|`true`| no |
113
+
| <aname="input_is_enable_sampled_requests"></a> [is\_enable\_sampled\_requests](#input\_is\_enable\_sampled\_requests)| Whether AWS WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the AWS WAF console. |`bool`|`true`| no |
114
+
| <aname="input_logging_filter"></a> [logging\_filter](#input\_logging\_filter)| A configuration block that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation. |`any`|`{}`| no |
115
+
| <aname="input_managed_rules"></a> [managed\_rules](#input\_managed\_rules)| List of Managed WAF rules. | <pre>list(object({<br> name = string<br> priority = number<br> override_action = string<br> excluded_rules = list(string)<br> }))</pre> |`[]`| no |
116
+
| <aname="input_name"></a> [name](#input\_name)| A friendly name of the WebACL. |`string`| n/a | yes |
117
+
| <aname="input_prefix"></a> [prefix](#input\_prefix)| The prefix name of customer to be displayed in AWS console and resource |`string`| n/a | yes |
118
+
| <aname="input_redacted_fields"></a> [redacted\_fields](#input\_redacted\_fields)| The parts of the request that you want to keep out of the logs. Up to 100 `redacted_fields` blocks are supported. |`any`|`[]`| no |
119
+
| <aname="input_scope"></a> [scope](#input\_scope)| Specifies whether this is for an AWS CloudFront distribution or for a regional application.<br>Possible values are `CLOUDFRONT` or `REGIONAL`.<br>To work with CloudFront, you must also specify the region us-east-1 (N. Virginia) on the AWS provider. |`string`| n/a | yes |
120
+
| <aname="input_tags"></a> [tags](#input\_tags)| A mapping of tags to assign to the WAFv2 ACL. |`map(string)`|`{}`| no |
0 commit comments