-
Notifications
You must be signed in to change notification settings - Fork 24
/
variables-subnet.tf
79 lines (67 loc) · 2.32 KB
/
variables-subnet.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
variable "virtual_network_name" {
description = "Virtual network name."
type = string
}
variable "cidrs" {
description = "The address prefix list to use for the subnet."
type = list(string)
}
variable "route_table_name" {
description = "The Route Table name to associate with the subnet."
type = string
default = null
}
variable "route_table_rg" {
description = "The Route Table RG to associate with the subnet. Default is the same RG than the subnet."
type = string
default = null
}
variable "network_security_group_name" {
description = "The Network Security Group name to associate with the subnets."
type = string
default = null
}
variable "network_security_group_rg" {
description = "The Network Security Group RG to associate with the subnet. Default is the same RG than the subnet."
type = string
default = null
}
variable "service_endpoints" {
description = "The list of Service endpoints to associate with the subnet."
type = list(string)
default = []
}
variable "service_endpoint_policy_ids" {
description = "The list of IDs of Service Endpoint Policies to associate with the subnet."
type = list(string)
default = null
}
variable "private_link_endpoint_enabled" {
description = "Enable or disable network policies for the Private Endpoint on the subnet."
type = bool
default = true
}
variable "private_endpoint_network_policies" {
description = "Enable or disable network policies for the private endpoint on the subnet. Possible values are `Disabled`, `Enabled`, `NetworkSecurityGroupEnabled` and `RouteTableEnabled`."
type = string
default = null
}
variable "private_link_service_enabled" {
description = "Enable or disable network policies for the Private Link Service on the subnet."
type = bool
default = null
}
variable "delegations" {
description = "Subnet delegations configuration."
type = map(list(object({
name = string
actions = list(string)
})))
default = {}
nullable = false
}
variable "default_outbound_access_enabled" {
description = "Enable or disable `default_outbound_access`. See [documentation](https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/default-outbound-access)."
type = bool
default = false
}