generated from appvia/terraform-aws-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
54 lines (45 loc) · 1.45 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
54
variable "name" {
type = string
description = "Name of the AWS network firewall rule group"
}
variable "capacity" {
type = number
default = 50
description = "Capacity defining the maximum number of rules within the rule group"
}
variable "ordering" {
type = string
default = "DEFAULT_ACTION_ORDER"
description = "Specifies the type of ordering when evaluating rules within the group"
validation {
condition = contains([
"DEFAULT_ACTION_ORDER",
"STRICT_ORDER",
], var.ordering)
error_message = "Invalid ordering type specified. Must be one of 'DEFAULT_ACTION_ORDER', 'STRICT_ORDER'."
}
}
variable "rule_files" {
type = list(string)
description = "List of rule files to load into the rule group"
}
variable "ip_variables" {
type = map(list(string))
default = {}
description = "Map consisting of string keys with string list values denoting IP variable definitions"
}
variable "ip_references" {
type = map(string)
default = {}
description = "Map consisting of string keys and values denoting IP prefix list variable definitions"
}
variable "port_variables" {
type = map(list(string))
default = {}
description = "Map consisting of string keys with string list values denoting port variable definitions"
}
variable "tags" {
type = map(string)
default = {}
description = "Tags to be applied to resources created by this module"
}