exoscale_nlb (Data Source)

Fetch Exoscale Network Load Balancers (NLB) data.

Corresponding resource: exoscale_nlb.

Example Usage

data "exoscale_nlb" "my_nlb" {
  zone = "ch-gva-2"
  name = "my-nlb"
}

output "my_nlb_id" {
  value = data.exoscale_nlb.my_nlb.id
}

Please refer to the examples directory for complete configuration examples.

Schema

Required

  • zone (String) The Exoscale Zone name.

Optional

  • id (String) The Network Load Balancers (NLB) ID to match (conflicts with name).
  • name (String) The NLB name to match (conflicts with id).

Read-Only

  • created_at (String) The NLB creation date.
  • description (String) The Network Load Balancers (NLB) description.
  • ip_address (String) The NLB public IPv4 address.
  • state (String) The current NLB state.