# 

# exoscale_instance_pool_list (Data Source)

List Exoscale [Instance Pools](https://community.exoscale.com/product/compute/instances/how-to/instance-pools/).

Corresponding resource: [exoscale_instance_pool]({{< ref "../resources/instance_pool.md" >}}).

## Example Usage

```terraform
data "exoscale_instance_pool_list" "my_instance_pool_list" {
  zone = "ch-gva-2"
}

output "my_instance_pool_ids" {
  value = join("\n", formatlist(
    "%s", data.exoscale_instance_pool_list.my_instance_pool_list.pools.*.id
  ))
}
```

Please refer to the [examples](https://github.com/exoscale/terraform-provider-exoscale/tree/master/examples/)
directory for complete configuration examples.

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `zone` (String) The Exoscale [Zone](https://www.exoscale.com/datacenters/) name.

### Read-Only

- `id` (String) The ID of this resource.
- `pools` (List of Object) The list of [exoscale_instance_pool]({{< ref "./instance_pool.md" >}}). (see [below for nested schema](#nestedatt--pools))

<a id="nestedatt--pools"></a>
### Nested Schema for `pools`

Read-Only:

- `affinity_group_ids` (Set of String)
- `anti_affinity_group_ids` (Set of String)
- `deploy_target_id` (String)
- `description` (String)
- `disk_size` (Number)
- `elastic_ip_ids` (Set of String)
- `id` (String)
- `instance_prefix` (String)
- `instance_type` (String)
- `instances` (Set of Object) (see [below for nested schema](#nestedobjatt--pools--instances))
- `ipv6` (Boolean)
- `key_pair` (String)
- `labels` (Map of String)
- `min_available` (Number)
- `name` (String)
- `network_ids` (Set of String)
- `security_group_ids` (Set of String)
- `size` (Number)
- `state` (String)
- `template_id` (String)
- `user_data` (String)
- `zone` (String)

<a id="nestedobjatt--pools--instances"></a>
### Nested Schema for `pools.instances`

Read-Only:

- `id` (String)
- `ipv6_address` (String)
- `name` (String)
- `public_ip_address` (String)



