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
| <a name="input_acl_name"></a> [acl\_name](#input\_acl\_name) | Friendly name of the ACL. The ACL ARN will be stored in SSM under {ssm\_path\_prefix}/{acl\_name}/arn | `string` | n/a | yes |
85
87
| <a name="input_additional_tag_map"></a> [additional\_tag\_map](#input\_additional\_tag\_map) | Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not added to `tags` or `id`.<br>This is for some rare cases where resources want additional configuration of tags<br>and therefore take a list of maps with tag key, value, and additional configuration. | `map(string)` | `{}` | no |
88
+
| <a name="input_alb_names"></a> [alb\_names](#input\_alb\_names) | list of ALB names to associate with the web ACL. | `list(string)` | `[]` | no |
89
+
| <a name="input_alb_tags"></a> [alb\_tags](#input\_alb\_tags) | list of tags to match one or more ALBs to associate with the web ACL. | `list(map(string))` | `[]` | no |
86
90
| <a name="input_association_resource_arns"></a> [association\_resource\_arns](#input\_association\_resource\_arns) | A list of ARNs of the resources to associate with the web ACL.<br>This must be an ARN of an Application Load Balancer, Amazon API Gateway stage, or AWS AppSync.<br><br>Do not use this variable to associate a Cloudfront Distribution.<br>Instead, you should use the `web_acl_id` property on the `cloudfront_distribution` resource.<br>For more details, refer to https://docs.aws.amazon.com/waf/latest/APIReference/API_AssociateWebACL.html | `list(string)` | `[]` | no |
87
91
| <a name="input_association_resource_component_selectors"></a> [association\_resource\_component\_selectors](#input\_association\_resource\_component\_selectors) | A list of Atmos component selectors to get from the remote state and associate their ARNs with the web ACL.<br>The components must be Application Load Balancers, Amazon API Gateway stages, or AWS AppSync.<br><br>component:<br> Atmos component name<br>component\_arn\_output:<br> The component output that defines the component ARN<br><br>Set `tenant`, `environment` and `stage` if the components are in different OUs, regions or accounts.<br><br>Do not use this variable to select a Cloudfront Distribution component.<br>Instead, you should use the `web_acl_id` property on the `cloudfront_distribution` resource.<br>For more details, refer to https://docs.aws.amazon.com/waf/latest/APIReference/API_AssociateWebACL.html | <pre>list(object({<br> component = string<br> namespace = optional(string, null)<br> tenant = optional(string, null)<br> environment = optional(string, null)<br> stage = optional(string, null)<br> component_arn_output = string<br> }))</pre> | `[]` | no |
88
92
| <a name="input_attributes"></a> [attributes](#input\_attributes) | ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`,<br>in the order they appear in the list. New attributes are appended to the<br>end of the list. The elements of the list are joined by the `delimiter`<br>and treated as a single ID element. | `list(string)` | `[]` | no |
description="The Amazon Kinesis Data Firehose, CloudWatch Log log group, or S3 bucket Amazon Resource Names (ARNs) that you want to associate with the web ACL"
116
+
}
117
+
118
+
variable"redacted_fields" {
119
+
type=map(object({
120
+
method =optional(bool, false)
121
+
uri_path =optional(bool, false)
122
+
query_string =optional(bool, false)
123
+
single_header =optional(list(string), null)
124
+
}))
125
+
default={}
126
+
description=<<-DOC
127
+
The parts of the request that you want to keep out of the logs.
128
+
You can only specify one of the following: `method`, `query_string`, `single_header`, or `uri_path`
129
+
130
+
method:
131
+
Whether to enable redaction of the HTTP method.
132
+
The method indicates the type of operation that the request is asking the origin to perform.
133
+
uri_path:
134
+
Whether to enable redaction of the URI path.
135
+
This is the part of a web request that identifies a resource.
136
+
query_string:
137
+
Whether to enable redaction of the query string.
138
+
This is the part of a URL that appears after a `?` character, if any.
139
+
single_header:
140
+
The list of names of the query headers to redact.
141
+
DOC
142
+
nullable=false
143
+
}
144
+
145
+
variable"logging_filter" {
146
+
type=object({
147
+
default_behavior =string
148
+
filter =list(object({
149
+
behavior =string
150
+
requirement =string
151
+
condition =list(object({
152
+
action_condition =optional(object({
153
+
action =string
154
+
}), null)
155
+
label_name_condition =optional(object({
156
+
label_name =string
157
+
}), null)
158
+
}))
159
+
}))
160
+
})
161
+
default=null
162
+
description=<<-DOC
163
+
A configuration block that specifies which web requests are kept in the logs and which are dropped.
164
+
You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.
165
+
DOC
166
+
}
167
+
168
+
# Association resources
169
+
variable"association_resource_arns" {
170
+
type=list(string)
171
+
default=[]
172
+
description=<<-DOC
173
+
A list of ARNs of the resources to associate with the web ACL.
174
+
This must be an ARN of an Application Load Balancer, Amazon API Gateway stage, or AWS AppSync.
175
+
176
+
Do not use this variable to associate a Cloudfront Distribution.
177
+
Instead, you should use the `web_acl_id` property on the `cloudfront_distribution` resource.
178
+
For more details, refer to https://docs.aws.amazon.com/waf/latest/APIReference/API_AssociateWebACL.html
179
+
DOC
180
+
nullable=false
181
+
}
182
+
183
+
variable"alb_names" {
184
+
description="list of ALB names to associate with the web ACL."
185
+
type=list(string)
186
+
default=[]
187
+
nullable=false
188
+
}
189
+
190
+
variable"alb_tags" {
191
+
description="list of tags to match one or more ALBs to associate with the web ACL."
0 commit comments