Skip to content

frostmoln_kubernetes_flavors (Data Source) ​

Lists available node flavors for managed Kubernetes node pools.

Example Usage ​

terraform
data "frostmoln_kubernetes_flavors" "available" {}

# Pick a node flavor by the capacity you need, never by a hardcoded id: the
# catalogue is the source of truth for which sizes exist. The node-pool
# catalogue starts at `medium` — there is no `small` — so select on vcpus
# rather than assuming a size name.
output "two_vcpu_flavors" {
  value = [for f in data.frostmoln_kubernetes_flavors.available.flavors : f.id if f.vcpus == 2]
}

Schema ​

Read-Only ​

Nested Schema for flavors ​

Read-Only:

  • disk_gb (Number) The disk size per node in GB.
  • family (String) The flavor family (e.g. "general-purpose").
  • id (String) The unique identifier of the flavor (used as flavor_id on node pools).
  • name (String) The human-readable flavor name.
  • pricing_tier (String) The billing pricing-tier key for this flavor. The flavor catalog never carries a price; prices are resolved separately.
  • ram_mb (Number) The amount of RAM per node in MB.
  • vcpus (Number) The number of virtual CPUs per node.