diff --git a/main.tf b/main.tf index 32b723277ff200ff09f122179644ca85a27aa08e..403ed5cd2af463920b8d8aa6f9374ac7d389792d 100644 --- a/main.tf +++ b/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { proxmox = { source = "telmate/proxmox" - version = "3.0.1-rc3" + version = "3.0.1-rc6" } } } @@ -38,7 +38,7 @@ resource "proxmox_vm_qemu" "membervm_nogui" { clone = "memberVM-nogui-template" agent = 1 - cpu = "x86-64-v2-AES" + cpu_type = "x86-64-v2-AES" scsihw = "virtio-scsi-pci" boot = "order=scsi0" ipconfig0 = "ip=dhcp,ip6=auto" @@ -62,11 +62,17 @@ resource "proxmox_vm_qemu" "membervm_nogui" { } network { + id = 0 bridge = "vmbr0" model = "virtio" tag = 4 } + serial { + id = 0 + type = "socket" + } + # Always the same, regardless of the template chosen os_type = "cloud-init" pool = "Member-VMs-Auto"