generated from Azure/terraform-azurerm-avm-template
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathvariables.virtual.network.tf
143 lines (120 loc) · 4.48 KB
/
variables.virtual.network.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
variable "virtual_network_creation_enabled" {
type = bool
default = true
description = "Whether or not to create a virtual network."
}
variable "virtual_network_name" {
type = string
default = null
description = "The name of the virtual network. Must be specified if `virtual_network_creation_enabled` is `true`."
}
variable "virtual_network_id" {
type = string
default = null
description = "The ID of the virtual network. Only required if `virtual_network_creation_enabled` is `false`."
}
variable "virtual_network_address_space" {
type = string
default = null
description = "The address space for the virtual network. Must be specified if `virtual_network_creation_enabled` is `true`."
}
variable "container_app_subnet_name" {
type = string
default = null
description = "The name of the subnet. Must be specified if `virtual_network_creation_enabled` is `true`."
}
variable "container_app_subnet_cidr_size" {
type = number
default = 27
description = "The CIDR size for the container instance subnet."
}
variable "container_app_subnet_address_prefix" {
type = string
default = null
description = "The address prefix for the Container App Environment. Either subnet_id or subnet_name and subnet_address_prefix must be specified."
}
variable "container_app_subnet_id" {
type = string
default = null
description = "The ID of a pre-existing subnet to use. Required if `virtual_network_creation_enabled` is `false`."
}
variable "container_instance_subnet_name" {
type = string
default = null
description = "The name of the subnet. Must be specified if `virtual_network_creation_enabled == false`."
}
variable "container_instance_subnet_cidr_size" {
type = number
default = 28
description = "The CIDR size for the container instance subnet."
}
variable "container_instance_subnet_address_prefix" {
type = string
default = null
description = "The address prefix for the Container App Environment. Either subnet_id or subnet_name and subnet_address_prefix must be specified."
}
variable "container_instance_subnet_id" {
type = string
default = null
description = "The ID of a pre-existing subnet to use. Required if `virtual_network_creation_enabled` is `false`."
}
variable "container_registry_private_endpoint_subnet_name" {
type = string
default = null
description = "The name of the subnet. Must be specified if `virtual_network_creation_enabled == false`."
}
variable "container_registry_subnet_cidr_size" {
type = number
default = 29
description = "The CIDR size for the container registry subnet."
}
variable "container_registry_private_endpoint_subnet_address_prefix" {
type = string
default = null
description = "The address prefix for the Container App Environment. Either subnet_id or subnet_name and subnet_address_prefix must be specified."
}
variable "container_registry_private_endpoint_subnet_id" {
type = string
default = null
description = "The ID of a pre-existing subnet to use. Required if `virtual_network_creation_enabled` is `false`."
}
variable "container_registry_private_dns_zone_creation_enabled" {
type = bool
default = true
description = "Whether or not to create a private DNS zone for the container registry."
}
variable "container_registry_dns_zone_id" {
type = string
default = null
description = "The ID of the private DNS zone to create for the container registry. Only required if `container_registry_private_dns_zone_creation_enabled` is `false`."
}
variable "public_ip_creation_enabled" {
type = bool
default = true
description = "Whether or not to create a public IP."
}
variable "public_ip_name" {
type = string
default = null
description = "The name of the public IP."
}
variable "public_ip_id" {
type = string
default = null
description = "The ID of the public IP. Only required if `public_ip_creation_enabled` is `false`."
}
variable "nat_gateway_creation_enabled" {
type = bool
default = true
description = "Whether or not to create a NAT Gateway."
}
variable "nat_gateway_name" {
type = string
default = null
description = "The name of the NAT Gateway."
}
variable "nat_gateway_id" {
type = string
default = null
description = "The ID of the NAT Gateway. Only required if `nat_gateway_creation_enabled` is `false`."
}