-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
53 lines (46 loc) · 1.22 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
43
44
45
46
47
48
49
50
51
52
53
variable "create_waf_rule" {
type = bool
description = "Do you want to create WAF rule?"
default = true
}
variable "name" {
type = string
description = "(Required) The name of the policy. Changing this forces a new resource to be created."
}
variable "resource_group_name" {
type = string
description = "(Required) The name of the resource group. Changing this forces a new resource to be created."
}
variable "location" {
type = string
description = "(Required) Resource location. Changing this forces a new resource to be created."
}
variable "custom_rules" {
type = any
description = "(Optional) One or more custom_rules blocks"
default = []
}
variable "policy_settings" {
type = any
description = "(Optional) A policy_settings block"
default = []
}
variable "managed_rules" {
type = any
description = "(Required) A managed_rules blocks"
default = [
{
managed_rule_set = [
{
type = "OWASP"
version = "3.2"
}
]
}
]
}
variable "tags" {
type = map(string)
description = "(Optional) A mapping of tags to assign to the Web Application Firewall Policy."
default = {}
}