Merge pull request 'Update proxmox.tf' (#203) from fenix-admin into main

Reviewed-on: fenix-gitea-admin/iac-teste#203
This commit is contained in:
2025-08-27 23:32:05 +00:00

View File

@ -162,6 +162,12 @@ resource "proxmox_virtual_environment_vm" "k8s_vms" {
size = each.value.disk_size
interface = "scsi1"
}
disk {
datastore_id = "local-snippets"
file_id = proxmox_virtual_environment_file.vm_user_data[each.key].id
interface = "ide2"
file_format = "raw"
}
clone {
vm_id = proxmox_virtual_environment_vm.proxmox-kubernetes-VM-template.id
@ -176,12 +182,6 @@ initialization {
address = "dhcp"
}
}
disk {
datastore_id = "local-snippets"
file_id = proxmox_virtual_environment_file.vm_user_data[each.key].id
interface = "ide2"
file_format = "raw"
}
# ip_config {
# ipv4 {
# address = each.value.ip