Retrieves information about databricks_instance_pool.
Referring to an instance pool by name:
data "databricks_instance_pool" "Pool" {
name = "All spot"
}
resource "databricks_cluster" "my_cluster" {
instance_pool_id = data.databricks_instance_pool.pool.id
# ...
}
Data source allows you to pick instance pool by the following attribute
name
- Name of the instance pool. The instance pool must exist before this resource can be planned.Data source exposes the following attributes:
id
- The id of the instance pool.pool_info
- block describing instance pool and its state. Check documentation for databricks_instance_pool for a list of exposed attributes.