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
-
},
243
233
"role": {
244
234
Type: schema.TypeString,
245
235
Optional: true,
@@ -267,6 +257,15 @@ of zero objects you must use the following syntax:
267
257
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).`,
268
258
Elem: &schema.Resource{
269
259
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
+
},
270
269
"range_name": {
271
270
Type: schema.TypeString,
272
271
Required: true,
@@ -276,24 +275,6 @@ when adding an alias IP range to a VM instance. The name must
276
275
be 1-63 characters long, and comply with RFC1035. The name
277
276
must be unique within the subnetwork.`,
278
277
},
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
+
279
251
*`name` -
280
252
(Required)
281
253
The name of the resource, provided by the client when initially
@@ -301,19 +273,6 @@ The following arguments are supported:
301
273
you create the resource. This field can be set only at resource
302
274
creation time.
303
275
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
-
317
276
*`purpose` -
318
277
(Optional)
319
278
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)).
@@ -405,17 +364,11 @@ The following arguments are supported:
405
364
must be unique within the subnetwork.
406
365
407
366
*`ip_cidr_range` -
408
-
(Optional)
367
+
(Required)
409
368
The range of IP addresses belonging to this subnetwork secondary
410
369
range. Provide this property when you create the subnetwork.
411
370
Ranges must be unique and non-overlapping with all primary and
412
371
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