Retrieving VM ID - Proxmox Builder

With the Proxmox Buider, if you do not define a VM ID, it picks the “next free” ID.

Is there any way of extracting that value for usage elsewhere (e.g. in post-processors)?

Current post-processor for example:

    post-processors {
      post-processor "shell-local" {
        inline = [
          "ssh root@proxmox qm set ${var.vm_id} --efidisk0 ${var.vm_cloud_init_storage_pool}:0,efitype=4m,,format=qcow2,pre-enrolled-keys=1,size=528K",
          "ssh root@proxmox qm set ${var.vm_id} --rng0 source=/dev/urandom",
          "ssh root@proxmox qm set ${var.vm_id} --ipconfig0 ip=dhcp",
          "ssh root@proxmox qm set ${var.vm_id} --ciuser     ${var.vm_cloud_init_user}",
          "ssh root@proxmox qm set ${var.vm_id} --cipassword ${var.vm_cloud_init_pass}"
        ]
      }
    }

Resolved with ${build.ID}