A Distributed Cloud Edge network, which provides L3 isolation within a zone.
To get more information about Network, see:
resource "google_edgenetwork_network" "example_network" {
network_id = "example-network"
location = "us-west1"
zone = ""
description = "Example network."
mtu = 9000
labels = {
"environment" : "dev"
}
}
The following arguments are supported:
location
-
(Required)
The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
zone
-
(Required)
The name of the target Distributed Cloud Edge zone.
network_id
-
(Required)
A unique ID that identifies this network.
labels
-
(Optional)
Labels associated with this resource.
description
-
(Optional)
A free-text description of the resource. Max length 1024 characters.
mtu
-
(Optional)
IP (L3) MTU value of the network. Default value is 1500
. Possible values are: 1500
, 9000
.
project
- (Optional) The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
In addition to the arguments listed above, the following computed attributes are exported:
id
- an identifier for the resource with format projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
name
-
The canonical name of this resource, with format
projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
create_time
-
The time when the subnet was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Z
and 2014-10-02T15:01:23.045123456Z
.
update_time
-
The time when the subnet was last updated.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Z
and 2014-10-02T15:01:23.045123456Z
.
This resource provides the following Timeouts configuration options:
create
- Default is 20 minutes.delete
- Default is 30 minutes.Network can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
{{project}}/{{location}}/{{zone}}/{{network_id}}
{{location}}/{{zone}}/{{network_id}}
{{location}}/{{network_id}}
{{name}}
In Terraform v1.5.0 and later, use an import
block to import Network using one of the formats above. For example:
import {
id = "projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}"
to = google_edgenetwork_network.default
}
When using the terraform import
command, Network can be imported using one of the formats above. For example:
$ terraform import google_edgenetwork_network.default projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
$ terraform import google_edgenetwork_network.default {{project}}/{{location}}/{{zone}}/{{network_id}}
$ terraform import google_edgenetwork_network.default {{location}}/{{zone}}/{{network_id}}
$ terraform import google_edgenetwork_network.default {{location}}/{{network_id}}
$ terraform import google_edgenetwork_network.default {{name}}
This resource supports User Project Overrides.