A datasource to find Load Balancer Pools.
data "cloudflare_load_balancer_pools" "example" {
account_id = "f037e56e89293a057740de681ac9abbe"
filter {
name = "example-lb-pool"
}
}
account_id
(String) The account identifier to target for the datasource lookups.filter
(Block List, Max: 1) One or more values used to look up Load Balancer pools. If more than one value is given all values must match in order to be included. (see below for nested schema)id
(String) The ID of this resource.pools
(Block List) A list of Load Balancer Pools details. (see below for nested schema)filter
Optional:
name
(String) A regular expression matching the name of the Load Balancer pool to lookup.pools
Read-Only:
check_regions
(Set of String) List of regions (specified by region code) from which to run health checks. Empty means every Cloudflare data center (the default), but requires an Enterprise plan. Region codes can be found here.created_on
(String) The RFC3339 timestamp of when the load balancer was created.description
(String) Brief description of the Load Balancer Pool intention.enabled
(Boolean) Whether this pool is enabled. Disabled pools will not receive traffic and are excluded from health checks.id
(String) ID for this load balancer pool.latitude
(Number) Latitude this pool is physically located at; used for proximity steering.load_shedding
(Set of Object) Setting for controlling load shedding for this pool. (see below for nested schema)longitude
(Number) Longitude this pool is physically located at; used for proximity steering.minimum_origins
(Number) Minimum number of origins that must be healthy for this pool to serve traffic.modified_on
(String) The RFC3339 timestamp of when the load balancer was last modified.monitor
(String) ID of the Monitor to use for health checking origins within this pool.name
(String) Short name (tag) for the pool.notification_email
(String) Email address to send health status notifications to. Multiple emails are set as a comma delimited list.origins
(Set of Object) The list of origins within this pool. (see below for nested schema)pools.load_shedding
Read-Only:
default_percent
(Number)default_policy
(String)session_percent
(Number)session_policy
(String)pools.origins
Read-Only:
address
(String)enabled
(Boolean)header
(Set of Object) (see below for nested schema)name
(String)weight
(Number)pools.origins.header
Read-Only:
header
(String)values
(Set of String)