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: `The ID of the reserved internal range. Must be prefixed with 'networkconnectivity.googleapis.com'
241
+
E.g. 'networkconnectivity.googleapis.com/projects/{project}/locations/global/internalRanges/{rangeId}'`,
242
+
},
233
243
"role": {
234
244
Type: schema.TypeString,
235
245
Optional: true,
@@ -257,15 +267,6 @@ of zero objects you must use the following syntax:
257
267
For more details about this behavior, see [this section](https://www.terraform.io/docs/configuration/attr-as-blocks.html#defining-a-fixed-object-collection-value).`,
258
268
Elem: &schema.Resource{
259
269
Schema: map[string]*schema.Schema{
260
-
"ip_cidr_range": {
261
-
Type: schema.TypeString,
262
-
Required: true,
263
-
ValidateFunc: verify.ValidateIpCidrRange,
264
-
Description: `The range of IP addresses belonging to this subnetwork secondary
265
-
range. Provide this property when you create the subnetwork.
266
-
Ranges must be unique and non-overlapping with all primary and
267
-
secondary IP ranges within a network. Only IPv4 is supported.`,
268
-
},
269
270
"range_name": {
270
271
Type: schema.TypeString,
271
272
Required: true,
@@ -275,6 +276,24 @@ when adding an alias IP range to a VM instance. The name must
275
276
be 1-63 characters long, and comply with RFC1035. The name
276
277
must be unique within the subnetwork.`,
277
278
},
279
+
"ip_cidr_range": {
280
+
Type: schema.TypeString,
281
+
Computed: true,
282
+
Optional: true,
283
+
ValidateFunc: verify.ValidateIpCidrRange,
284
+
Description: `The range of IP addresses belonging to this subnetwork secondary
285
+
range. Provide this property when you create the subnetwork.
286
+
Ranges must be unique and non-overlapping with all primary and
287
+
secondary IP ranges within a network. Only IPv4 is supported.
288
+
Field is optional when 'reserved_internal_range' is defined, otherwise required.`,
The range of internal addresses that are owned by this subnetwork.
247
-
Provide this property when you create the subnetwork. For example,
248
-
10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and
249
-
non-overlapping within a network. Only IPv4 is supported.
250
-
251
279
*`name` -
252
280
(Required)
253
281
The name of the resource, provided by the client when initially
@@ -273,6 +301,19 @@ The following arguments are supported:
273
301
you create the resource. This field can be set only at resource
274
302
creation time.
275
303
304
+
*`ip_cidr_range` -
305
+
(Optional)
306
+
The range of internal addresses that are owned by this subnetwork.
307
+
Provide this property when you create the subnetwork. For example,
308
+
10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and
309
+
non-overlapping within a network. Only IPv4 is supported.
310
+
Field is optional when `reserved_internal_range` is defined, otherwise required.
311
+
312
+
*`reserved_internal_range` -
313
+
(Optional)
314
+
The ID of the reserved internal range. Must be prefixed with `networkconnectivity.googleapis.com`
315
+
E.g. `networkconnectivity.googleapis.com/projects/{project}/locations/global/internalRanges/{rangeId}`
316
+
276
317
*`purpose` -
277
318
(Optional)
278
319
The purpose of the resource. This field can be either `PRIVATE_RFC_1918`, `REGIONAL_MANAGED_PROXY`, `GLOBAL_MANAGED_PROXY`, `PRIVATE_SERVICE_CONNECT` or `PRIVATE_NAT`([Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html)).
@@ -364,11 +405,17 @@ The following arguments are supported:
364
405
must be unique within the subnetwork.
365
406
366
407
*`ip_cidr_range` -
367
-
(Required)
408
+
(Optional)
368
409
The range of IP addresses belonging to this subnetwork secondary
369
410
range. Provide this property when you create the subnetwork.
370
411
Ranges must be unique and non-overlapping with all primary and
371
412
secondary IP ranges within a network. Only IPv4 is supported.
413
+
Field is optional when `reserved_internal_range` is defined, otherwise required.
414
+
415
+
*`reserved_internal_range` -
416
+
(Optional)
417
+
The ID of the reserved internal range. Must be prefixed with `networkconnectivity.googleapis.com`
418
+
E.g. `networkconnectivity.googleapis.com/projects/{project}/locations/global/internalRanges/{rangeId}`
0 commit comments