diff options
author | clyhtsuriva <aimeric@adjutor.xyz> | 2025-02-18 21:03:00 +0100 |
---|---|---|
committer | clyhtsuriva <aimeric@adjutor.xyz> | 2025-02-18 21:03:00 +0100 |
commit | 1e1a8a1f3f4a8586072d3e31d2bef9c27786d448 (patch) | |
tree | 95b1618e62c971265f1df55131e1a784d2e3d873 /opentofu/modules/k8s_worker/main.tf | |
parent | 8af7efa1e03c1d37cf34197249e487348d382d82 (diff) |
Also changes the id of the packer images,
now starting at the "end" (999), while VMs start at 100
Diffstat (limited to 'opentofu/modules/k8s_worker/main.tf')
-rw-r--r-- | opentofu/modules/k8s_worker/main.tf | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/opentofu/modules/k8s_worker/main.tf b/opentofu/modules/k8s_worker/main.tf deleted file mode 100644 index ff039b2..0000000 --- a/opentofu/modules/k8s_worker/main.tf +++ /dev/null @@ -1,56 +0,0 @@ -resource "proxmox_vm_qemu" "k8s_worker" { - lifecycle { - ignore_changes = [ - bootdisk, - ] - } - - count = var.vm_count - name = "${var.name_prefix}-${count.index}" - desc = var.desc - agent = var.agent - target_node = var.target_node - tags = var.tags - - clone = var.clone - full_clone = var.full_clone - - qemu_os = var.qemu_os - cores = var.cores - sockets = var.sockets - cpu_type = var.cpu_type - memory = var.memory - - scsihw = var.scsihw - bootdisk = var.bootdisk - - disks { - ide { - ide0 { - cloudinit { - storage = var.cloudinit_storage - } - } - } - virtio { - virtio0 { - disk { - storage = var.disk_storage - size = var.disk_size - iothread = var.iothread - replicate = var.replicate - } - } - } - } - - network { - id = var.network_id - model = var.network_model - bridge = var.network_bridge - } - - ipconfig0 = var.ipconfig0 - ciuser = var.ciuser - sshkeys = var.sshkeys -} |