-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
executable file
·54 lines (47 loc) · 1.63 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 "vdc_org_name" {
description = "The name of the organization to use."
type = string
}
variable "vdc_group_name" {
description = "The name of the VDC group."
type = string
}
variable "vdc_edgegateway_name" {
description = "The name for the Edge Gateway."
type = string
}
variable "app_port_profiles" {
description = "Map of app port profiles used in this ruleset with their corresponding scopes. These will be looked up with a data ressource."
type = map(string)
default = {}
}
variable "ip_set_names" {
description = "List of vcd_nsxt_ip_set names being used in this ruleset. These will be looked up with a data ressource."
type = list(string)
default = []
}
variable "dynamic_security_group_names" {
description = "List of vcd_nsxt_dynamic_security_group names being used in this ruleset. These will be looked up with a data ressource."
type = list(string)
default = []
}
variable "security_group_names" {
description = "List of vcd_nsxt_security_group names being used in this ruleset. These will be looked up with a data ressource."
type = list(string)
default = []
}
variable "rules" {
description = "List of rules to apply."
type = list(object({
name = string
direction = string
ip_protocol = string
action = string
enabled = optional(bool)
logging = optional(bool)
source_ids = optional(list(string))
destination_ids = optional(list(string))
app_port_profile_ids = optional(list(string))
}))
default = []
}