» Data Source: hcloud_network

Provides details about a Hetzner Cloud network. This resource is useful if you want to use a non-terraform managed network.

» Example Usage

data "hcloud_network" "network_1" {
  id = "1234"
}
data "hcloud_network" "network_2" {
  name = "my-network"
}
data "hcloud_network" "network_3" {
  with_selector = "key=value"
}

» Argument Reference

» Attributes Reference

  • id - Unique ID of the Network.
  • name - Name of the Network.
  • ip_range - IPv4 prefix of the Network.