Update terraform/main.tf

This commit is contained in:
2026-02-15 19:53:20 +01:00
parent f7eb7216af
commit 494ea7e2d8

View File

@@ -1,7 +1,7 @@
resource "proxmox_vm_qemu" "vm1" { resource "proxmox_vm_qemu" "vm1" {
name = "terraform-vm" name = "terraform-vm"
target_node = "nuctyzyzen7-1" target_node = "nuctyzyzen7-1"
clone = "ubuntu-2404-template" clone = "ubuntu-2404-ci-template"
full_clone = true full_clone = true
cpu { cpu {
@@ -13,7 +13,7 @@ resource "proxmox_vm_qemu" "vm1" {
disk { disk {
slot = "scsi0" slot = "scsi0"
size = "20G" size = "40G"
type = "disk" type = "disk"
storage = "zfs1" storage = "zfs1"
} }
@@ -25,8 +25,6 @@ resource "proxmox_vm_qemu" "vm1" {
os_type = "cloud-init" os_type = "cloud-init"
ipconfig0 = "ip=dhcp" ipconfig0 = "ip=dhcp"
ciuser = "ubuntu"
sshkeys = var.ssh_public_key
agent = 1 agent = 1
scsihw = "virtio-scsi-pci" scsihw = "virtio-scsi-pci"
machine = "q35" machine = "q35"