Skip to content
Odinex Cloud
Terraform providerReferenceData sources

odinex_network

Looks up a private network by ID, name or label selector.

Looks up a private network by ID, name or label selector.

Example Usage

data "odinex_network" "private" {
  name = "private"
}

Schema

Optional

  • id (Number) ID of the network.
  • name (String) Name of the network.
  • with_selector (String) Label selector, e.g. env=prod,role.

Read-Only

  • delete_protection (Boolean) Whether delete protection is on.
  • ip_range (String) IP range.
  • labels (Map of String) Labels.
  • location (String) Location.
  • servers (List of Number) IDs of attached servers.

On this page