--- page_title: "ona_warm_pools Data Source - ona" subcategory: "Projects" description: |- Fetches Ona warm pools. --- # ona_warm_pools (Data Source) Fetches Ona warm pools. For product context, see [Warm Pools](https://ona.com/docs/ona/projects/warm-pools). ## Example Usage ```terraform data "ona_warm_pools" "project" { project_ids = ["00000000-0000-0000-0000-000000000000"] environment_class_ids = ["11111111-1111-1111-1111-111111111111"] } ``` ## Schema ### Optional - `environment_class_ids` (Set of String) Environment class IDs to filter warm pools by. - `page_size` (Number) API page size to use while listing warm pools. Defaults to 100. - `project_ids` (Set of String) Project IDs to filter warm pools by. ### Read-Only - `id` (String) Terraform data source ID. - `warm_pools` (Attributes List) Ona warm pools matching the filters. (see [below for nested schema](#nestedatt--warm_pools)) ### Nested Schema for `warm_pools` Read-Only: - `created_at` (String) Time when the warm pool was created. - `environment_class_id` (String) Environment class ID whose instances are warmed. - `id` (String) Terraform data source ID. This is the same value as `warm_pool_id`. - `max_size` (Number) Maximum number of warm instances to maintain. - `min_size` (Number) Minimum number of warm instances to maintain. - `project_id` (String) Project ID this warm pool belongs to. - `warm_pool_id` (String) Warm pool ID.