streamtime_fleet_node_pools (Data Source)
Lists a fleet’s node pools. Streamtime manages node pools with the fleet; they are read-only here.
Example Usage
data "streamtime_fleet_node_pools" "prod" {
fleet = "prod"
}
output "node_count" {
value = sum([for p in data.streamtime_fleet_node_pools.prod.node_pools : p.size])
}
Schema
Required
fleet(String) The fleet’s identifier.
Read-Only
node_pools(Attributes List) The fleet’s node pools. (see below for nested schema)
Nested Schema for node_pools
Read-Only:
metadata(String) Details of the pool, as JSON.size(Number) Number of nodes.