Skip to content

Commit 937a13d

Browse files
committed
fix spelling definition
1 parent 4a0fc5b commit 937a13d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/rule-group/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ No modules.
149149
| <a name="input_resource_policy"></a> [resource\_policy](#input\_resource\_policy) | The policy JSON to use for the resource policy; required when `create_resource_policy` is `false` | `string` | `""` | no |
150150
| <a name="input_resource_policy_actions"></a> [resource\_policy\_actions](#input\_resource\_policy\_actions) | A list of IAM actions allowed in the resource policy | `list(string)` | `[]` | no |
151151
| <a name="input_resource_policy_principals"></a> [resource\_policy\_principals](#input\_resource\_policy\_principals) | A list of IAM principals allowed in the resource policy | `list(string)` | `[]` | no |
152-
| <a name="input_rule_group"></a> [rule\_group](#input\_rule\_group) | A configuration block that defines the rule group rules. Required unless `rules` is specified | <pre>object({<br/> reference_sets = optional(object({<br/> ip_set_references = optional(map(object({<br/> reference_arn = string<br/> })))<br/> key = string<br/> }))<br/> rules_source = optional(object({<br/> rules_source_list = optional(object({<br/> generated_rules_type = string<br/> target_types = list(string)<br/> targets = list(string)<br/> }))<br/> rules_string = optional(string)<br/> stateful_rule = optional(list(object({<br/> action = string<br/> header = object({<br/> destination = string<br/> destination_port = string<br/> direction = string<br/> protocol = string<br/> source = string<br/> source_port = string<br/> })<br/> rule_option = list(object({<br/> keyword = string<br/> settings = optional(list(string))<br/> }))<br/> })))<br/> stateless_rules_and_custom_actions = optional(object({<br/> custom_action = optional(list(object({<br/> action_definition = object({<br/> publish_metric_action = object({<br/> dimension = list(object({<br/> value = string<br/> }))<br/> })<br/> })<br/> action_name = string<br/> })))<br/> stateless_rule = list(object({<br/> priority = number<br/> rule_definition = object({<br/> actions = list(string)<br/> match_attributes = object({<br/> destination = optional(list(object({<br/> address_definition = string<br/> })))<br/> destination_port = optional(list(object({<br/> from_port = string<br/> to_port = optional(string)<br/> })))<br/> protocols = optional(list(string))<br/> source = optional(list(object({<br/> address_definition = string<br/> })))<br/> source_port = optional(list(object({<br/> from_port = string<br/> to_port = optional(string)<br/> })))<br/> tcp_flag = optional(list(object({<br/> flags = list(string)<br/> masks = optional(list(string))<br/> })))<br/> })<br/> })<br/> rule_options = optional(list(object({<br/> keyword = string<br/> settings = optional(list(string))<br/> })))<br/> }))<br/> }))<br/> }))<br/> rule_variables = optional(object({<br/> ip_sets = optional(list(object({<br/> key = string<br/> ip_set = object({<br/> defintion = list(string)<br/> })<br/> })))<br/> port_sets = optional(list(object({<br/> key = string<br/> port_set = object({<br/> definition = list(string)<br/> })<br/> })))<br/> }))<br/> stateful_rule_options = optional(object({<br/> rule_order = optional(string)<br/> }))<br/> })</pre> | `null` | no |
152+
| <a name="input_rule_group"></a> [rule\_group](#input\_rule\_group) | A configuration block that defines the rule group rules. Required unless `rules` is specified | <pre>object({<br/> reference_sets = optional(object({<br/> ip_set_references = optional(map(object({<br/> reference_arn = string<br/> })))<br/> key = string<br/> }))<br/> rules_source = optional(object({<br/> rules_source_list = optional(object({<br/> generated_rules_type = string<br/> target_types = list(string)<br/> targets = list(string)<br/> }))<br/> rules_string = optional(string)<br/> stateful_rule = optional(list(object({<br/> action = string<br/> header = object({<br/> destination = string<br/> destination_port = string<br/> direction = string<br/> protocol = string<br/> source = string<br/> source_port = string<br/> })<br/> rule_option = list(object({<br/> keyword = string<br/> settings = optional(list(string))<br/> }))<br/> })))<br/> stateless_rules_and_custom_actions = optional(object({<br/> custom_action = optional(list(object({<br/> action_definition = object({<br/> publish_metric_action = object({<br/> dimension = list(object({<br/> value = string<br/> }))<br/> })<br/> })<br/> action_name = string<br/> })))<br/> stateless_rule = list(object({<br/> priority = number<br/> rule_definition = object({<br/> actions = list(string)<br/> match_attributes = object({<br/> destination = optional(list(object({<br/> address_definition = string<br/> })))<br/> destination_port = optional(list(object({<br/> from_port = string<br/> to_port = optional(string)<br/> })))<br/> protocols = optional(list(string))<br/> source = optional(list(object({<br/> address_definition = string<br/> })))<br/> source_port = optional(list(object({<br/> from_port = string<br/> to_port = optional(string)<br/> })))<br/> tcp_flag = optional(list(object({<br/> flags = list(string)<br/> masks = optional(list(string))<br/> })))<br/> })<br/> })<br/> rule_options = optional(list(object({<br/> keyword = string<br/> settings = optional(list(string))<br/> })))<br/> }))<br/> }))<br/> }))<br/> rule_variables = optional(object({<br/> ip_sets = optional(list(object({<br/> key = string<br/> ip_set = object({<br/> definition = list(string)<br/> })<br/> })))<br/> port_sets = optional(list(object({<br/> key = string<br/> port_set = object({<br/> definition = list(string)<br/> })<br/> })))<br/> }))<br/> stateful_rule_options = optional(object({<br/> rule_order = optional(string)<br/> }))<br/> })</pre> | `null` | no |
153153
| <a name="input_rules"></a> [rules](#input\_rules) | The stateful rule group rules specifications in Suricata file format, with one rule per line. Use this to import your existing Suricata compatible rule groups. Required unless `rule_group` is specified | `string` | `null` | no |
154154
| <a name="input_tags"></a> [tags](#input\_tags) | A map of tags to add to all resources | `map(string)` | `{}` | no |
155155
| <a name="input_type"></a> [type](#input\_type) | Whether the rule group is stateless (containing stateless rules) or stateful (containing stateful rules). Valid values include: `STATEFUL` or `STATELESS` | `string` | `"STATELESS"` | no |

modules/rule-group/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ variable "rule_group" {
126126
ip_sets = optional(list(object({
127127
key = string
128128
ip_set = object({
129-
defintion = list(string)
129+
definition = list(string)
130130
})
131131
})))
132132
port_sets = optional(list(object({

0 commit comments

Comments
 (0)