Files
terraform-provider-binarylane/docs/data-sources/load_balancer.md
T
Oscar Hermoso 46117cf31d 👩‍⚕️ flesh out the docs, fix optional/required attrs (#59)
* 👨‍⚕️ Create docs

* 👩‍⚕️ self pr feedback

* 👩‍⚕️ more self pr feedback
2025-01-18 10:04:57 +08:00

1.5 KiB

page_title, subcategory, description
page_title subcategory description
binarylane_load_balancer Data Source - terraform-provider-binarylane

binarylane_load_balancer (Data Source)

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)
  • name (String) The hostname of the load balancer.
  • region (String) Leave null to create an anycast load balancer.
  • server_ids (List 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 the load balancer to forward it. Valid values are "http" and "https".

Nested Schema for health_check

Read-Only:

  • path (String)
  • protocol (String)