You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources.
123
-
varType: bool
124
-
defaultValue: false
125
-
- name: delete_default_internet_gateway_routes
126
-
description: If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted
121
+
- name: project_id
122
+
description: The ID of the project where this VPC will be created
123
+
varType: string
124
+
required: true
125
+
- name: network_name
126
+
description: The name of the network being created
127
+
varType: string
128
+
required: true
129
+
- name: routing_mode
130
+
description: The network routing mode (default 'GLOBAL')
131
+
varType: string
132
+
defaultValue: GLOBAL
133
+
- name: shared_vpc_host
134
+
description: Makes this project a Shared VPC host if 'true' (default 'false')
127
135
varType: bool
128
136
defaultValue: false
129
-
- name: description
130
-
description: An optional description of this resource. The resource must be recreated to modify this field.
131
-
varType: string
132
-
defaultValue: ""
133
-
- name: egress_rules
134
-
description: List of egress rules. This will be ignored if variable 'rules' is non-empty
description: List of routes being created in this VPC
165
+
varType: list(map(string))
166
+
defaultValue: []
167
+
- name: firewall_rules
168
+
description: This is DEPRECATED and available for backward compatibility. Use ingress_rules and egress_rules variables. List of firewall rules
135
169
varType: |-
136
170
list(object({
137
171
name = string
138
172
description = optional(string, null)
173
+
direction = optional(string, "INGRESS")
139
174
disabled = optional(bool, null)
140
175
priority = optional(number, null)
141
-
destination_ranges = optional(list(string), [])
142
-
source_ranges = optional(list(string), [])
176
+
ranges = optional(list(string), [])
143
177
source_tags = optional(list(string))
144
178
source_service_accounts = optional(list(string))
145
179
target_tags = optional(list(string))
@@ -158,20 +192,32 @@ spec:
158
192
}))
159
193
}))
160
194
defaultValue: []
161
-
- name: enable_ipv6_ula
162
-
description: Enabled IPv6 ULA, this is a permanent change and cannot be undone! (default 'false')
195
+
- name: delete_default_internet_gateway_routes
196
+
description: If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted
163
197
varType: bool
164
198
defaultValue: false
165
-
- name: firewall_rules
166
-
description: This is DEPRECATED and available for backward compatibility. Use ingress_rules and egress_rules variables. List of firewall rules
199
+
- name: description
200
+
description: An optional description of this resource. The resource must be recreated to modify this field.
201
+
varType: string
202
+
defaultValue: ""
203
+
- name: auto_create_subnetworks
204
+
description: When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources.
205
+
varType: bool
206
+
defaultValue: false
207
+
- name: mtu
208
+
description: "The network MTU (If set to 0, meaning MTU is unset - defaults to '1460'). Recommended values: 1460 (default for historic reasons), 1500 (Internet default), or 8896 (for Jumbo packets). Allowed are all values in the range 1300 to 8896, inclusively."
209
+
varType: number
210
+
defaultValue: 0
211
+
- name: ingress_rules
212
+
description: List of ingress rules. This will be ignored if variable 'rules' is non-empty
167
213
varType: |-
168
214
list(object({
169
215
name = string
170
216
description = optional(string, null)
171
-
direction = optional(string, "INGRESS")
172
217
disabled = optional(bool, null)
173
218
priority = optional(number, null)
174
-
ranges = optional(list(string), [])
219
+
destination_ranges = optional(list(string), [])
220
+
source_ranges = optional(list(string), [])
175
221
source_tags = optional(list(string))
176
222
source_service_accounts = optional(list(string))
177
223
target_tags = optional(list(string))
@@ -190,8 +236,8 @@ spec:
190
236
}))
191
237
}))
192
238
defaultValue: []
193
-
- name: ingress_rules
194
-
description: List of ingress rules. This will be ignored if variable 'rules' is non-empty
239
+
- name: egress_rules
240
+
description: List of egress rules. This will be ignored if variable 'rules' is non-empty
195
241
varType: |-
196
242
list(object({
197
243
name = string
@@ -218,20 +264,16 @@ spec:
218
264
}))
219
265
}))
220
266
defaultValue: []
267
+
- name: enable_ipv6_ula
268
+
description: Enabled IPv6 ULA, this is a permanent change and cannot be undone! (default 'false')
269
+
varType: bool
270
+
defaultValue: false
221
271
- name: internal_ipv6_range
222
272
description: When enabling IPv6 ULA, optionally, specify a /48 from fd20::/20 (default null)
223
273
varType: string
224
-
- name: mtu
225
-
description: "The network MTU (If set to 0, meaning MTU is unset - defaults to '1460'). Recommended values: 1460 (default for historic reasons), 1500 (Internet default), or 8896 (for Jumbo packets). Allowed are all values in the range 1300 to 8896, inclusively."
226
-
varType: number
227
-
defaultValue: 0
228
274
- name: network_firewall_policy_enforcement_order
229
275
description: Set the order that Firewall Rules and Firewall Policies are evaluated. Valid values are `BEFORE_CLASSIC_FIREWALL` and `AFTER_CLASSIC_FIREWALL`. (default null or equivalent to `AFTER_CLASSIC_FIREWALL`)
230
276
varType: string
231
-
- name: network_name
232
-
description: The name of the network being created
233
-
varType: string
234
-
required: true
235
277
- name: network_profile
236
278
description: |
237
279
"A full or partial URL of the network profile to apply to this network.
0 commit comments