google_edgenetwork_network

A Distributed Cloud Edge network, which provides L3 isolation within a zone.

To get more information about Network, see:

Example Usage - Edgenetwork Network

resource "google_edgenetwork_network" "example_network" {
  network_id  = "example-network"
  location    = "us-west1"
  zone        = ""
  description = "Example network."
  mtu         = 9000
  labels      = {
    "environment" : "dev"
  }
}

Argument Reference

The following arguments are supported:


Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

Timeouts

This resource provides the following Timeouts configuration options:

Import

Network can be imported using any of these accepted formats:

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}}

User Project Overrides

This resource supports User Project Overrides.