resource "proxmox_virtual_environment_vm" "ARM" { # VM General Settings node_name = "prox" vm_id = 8100 name = "ARM" description = "Ubuntu 24 ARM" tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"] bios = "ovmf" started = false agent { enabled = false # read 'Qemu guest agent' section, change to true only when ready } # VM Memory Settings memory { dedicated = 2048 } # VM Network Settings network_device { bridge = "vmbr0" vlan_id = 1 } # VM Disk Settings disk { datastore_id = "Fast2Tb" file_id = proxmox_virtual_environment_download_file.latest_ubuntu_22_arm_jammy_qcow2_img.id size = 100 interface = "scsi0" } efi_disk { type = "4m" } vga { type = "serial0" } initialization { ip_config { ipv4 { address = "dhcp" } } user_account {} } lifecycle { ignore_changes = [ initialization[0].user_account[0].keys, initialization[0].user_account[0].password, initialization[0].user_account[0].username, ] } } resource "proxmox_virtual_environment_download_file" "latest_ubuntu_22_arm_jammy_qcow2_img" { content_type = "iso" datastore_id = "local" node_name = "prox" url = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-arm64.img" }