Files
2025-10-05 13:24:58 +08:00

1.9 KiB

page_title, subcategory, description
page_title subcategory description
binarylane_load_balancer Data Source - terraform-provider-binarylane Retrieve details about a BinaryLane Load Balancer.

binarylane_load_balancer (Data Source)

Retrieve details about a BinaryLane Load Balancer.

Example Usage

data "binarylane_load_balancer" "example" {
  id = 123456
}

Schema

Required

  • id (Number) The ID of the load balancer to fetch.

Read-Only

  • forwarding_rules (Attributes List) The rules that control which traffic the load balancer will forward to servers in the pool. Leave null to accept a default "HTTP" only forwarding rule. (see below for nested schema)
  • health_check (Object) The rules that determine which servers are considered 'healthy' and in the server pool for the load balancer. Leave this null to accept appropriate defaults based on the forwarding_rules. (see below for nested schema)
  • ip (String) The IPv4 address of the load balancer.
  • name (String) The hostname of the load balancer.
  • region (String) Leave null to create an anycast load balancer.
  • server_ids (Set of Number) A list of server IDs to assign to this load balancer.

Nested Schema for forwarding_rules

Read-Only:

  • entry_protocol (String) The protocol that traffic must match for this load balancer to forward traffic according to this rule.
Value Description
http The load balancer will forward HTTP traffic that matches this rule.
https The load balancer will forward HTTPS traffic that matches this rule.

Nested Schema for health_check

Read-Only:

  • path (String)
  • protocol (String)