generated from cloudposse/terraform-example-module
-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
variables.tf
42 lines (41 loc) · 1.16 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
variable "zone" {
type = string
description = "The name of the DNS zone."
}
variable "rulesets" {
type = list(object({
name = string
sensitivity = string
mode = string
rule_groups = list(object({
name = string
mode = string
rules = list(object({
id = string
mode = string
}))
}))
}))
description = <<-DOC
A list of `rulesets` objects.
name:
The name of the firewall package.
sensitivity:
The sensitivity of the firewall package.
mode:
The default action that will be taken for rules under the firewall package.
Possible values: `simulate`, `block`, `challenge`.
rule_groups:
name:
The name of the firewall rule group.
mode:
Whether or not the rules contained within this group are configurable/usable.
Possible values: `on`, `off`.
rules:
id:
The ID of the WAF rule.
mode:
The mode to use when the rule is triggered. Value is restricted based on the allowed_modes of the rule.
Possible values: `default`, `disable`, `simulate`, `block`, `challenge`, `on`, `off`.
DOC
}