tofu config and docs

This commit is contained in:
2026-05-31 20:48:25 +02:00
parent 24c59256c9
commit 428de7af78
5 changed files with 125 additions and 7 deletions

View File

@@ -47,6 +47,14 @@ resource "upcloud_kubernetes_node_group" "workers" {
node_count = var.node_count
plan = var.node_plan
anti_affinity = var.node_count > 1
dynamic "cloud_native_plan" {
for_each = var.storage_size != null ? [1] : []
content {
storage_size = var.storage_size
}
}
labels = {
prefix = var.prefix
cluster = var.cluster_name