Split project

This commit is contained in:
2026-09-08 00:15:03 -04:00
parent 33dc172296
commit 02516f403a
33 changed files with 223 additions and 44 deletions
+24
View File
@@ -0,0 +1,24 @@
data "talos_image_factory_versions" "this" {
filters = {
stable_versions_only = true
}
}
data "talos_image_factory_urls" "this" {
talos_version = local.talos_version
schematic_id = talos_image_factory_schematic.this.id
platform = "nocloud"
}
data "talos_machine_configuration" "this" {
for_each = { for guest in var.vm_guests: guest.name => guest if contains(["controlplane", "worker"], guest.role) }
cluster_endpoint = local.cluster_endpoint
cluster_name = var.cluster_name
config_patches = local.machine_config_patches[each.key]
docs = false
examples = false
kubernetes_version = var.kubernetes_version
machine_secrets = talos_machine_secrets.this.machine_secrets
machine_type = each.value.role
talos_version = local.talos_version
}