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
@@ -21,6 +31,7 @@ N/A, the usage will be meaningful in the next releases of VPC.
21
31
In addition to all above arguments, the following attributes are exported:
22
32
23
33
-`id` - The ID of the private network.
24
-
-`subnets` - The subnets CIDR associated with private network.
34
+
-`ipv4_subnet` - (Optional) The IPv4 subnet associated with the private network.
35
+
-`ipv6_subnets` - (Optional) The IPv6 subnets associated with the private network.
25
36
26
-
~> **Important:** Private networks' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
37
+
~> **Important:** Private networks' IDs are [zoned](../guides/regions_and_zones.md#resource-ids) or [regional](../guides/regions_and_zones.md#resource-ids) if using beta, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` or `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111
-> **Note:** Regional Private Network is now in Public Beta. You can create a regional private network directly using this resource by setting `is_regional` to `true`.
@@ -25,22 +41,33 @@ The following arguments are supported:
25
41
-`tags` - (Optional) The tags associated with the private network.
26
42
-`zone` - (Defaults to [provider](../index.md#zone)`zone`) The [zone](../guides/regions_and_zones.md#zones) in which the private network should be created.
27
43
-`project_id` - (Defaults to [provider](../index.md#project_id)`project_id`) The ID of the project the private network is associated with.
28
-
-`subnets` - (Optional) The subnets CIDR associated with private network.
44
+
-`ipv4_subnet` - (Optional) The IPv4 subnet associated with the private network.
45
+
-`ipv6_subnets` - (Optional) The IPv6 subnets associated with the private network.
46
+
47
+
-> **Note:** If using Regional Private Network:
48
+
49
+
-`region` - (Defaults to [provider](../index.md#region)`region`) The [region](../guides/regions_and_zones.md#regions) of the private network.
50
+
-`vpc_id` - (Optional) The VPC in which to create the private network.
51
+
-`is_regional` - (Optional) Defines whether the private network is Regional. By default, it will be Zonal.
29
52
30
53
## Attributes Reference
31
54
32
55
In addition to all above arguments, the following attributes are exported:
33
56
34
57
-`id` - The ID of the private network.
35
58
36
-
~> **Important:** Private networks' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
59
+
~> **Important:** Private networks' IDs are [zoned](../guides/regions_and_zones.md#resource-ids) or [regional](../guides/regions_and_zones.md#resource-ids) if using beta, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` or `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111
37
60
38
61
-`organization_id` - The organization ID the private network is associated with.
39
62
40
63
## Import
41
64
42
-
Private networks can be imported using the `{zone}/{id}`, e.g.
65
+
Private networks can be imported using the `{zone}/{id}` or `{region}/{id}` using beta, e.g.
0 commit comments