» yandex_vpc_network

Manages a network within the Yandex.Cloud. For more information, see the official documentation.

» Example Usage

resource "yandex_vpc_network" "default" {
  name = "foobar"

» Argument Reference

The following arguments are supported:

  • name - (Optional) Name of the network. Provided by the client when the network is created.

  • description - (Optional) An optional description of this resource. Provide this property when you create the resource.

  • folder_id - (Optional) ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.

  • labels - (Optional) Labels to apply to this network. A list of key/value pairs.

» Attributes Reference

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

» Import

A network can be imported using the id of the resource, e.g.

$ terraform import yandex_vpc_network.default network_id