Skip to content

Commit

Permalink
change to new disks layout
Browse files Browse the repository at this point in the history
  • Loading branch information
clincha committed Jan 29, 2024
1 parent a2f34fe commit 9b6b48c
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions terraform/modules/rocky8/rocky8.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ resource "proxmox_vm_qemu" "rocky8" {

tags = join(",", var.tags)

dynamic "disk" {
for_each = var.disks
content {
size = disk.value.size
storage = disk.value.storage
type = disk.value.type
disks {
scsi {
scsi0 {
disk {
size = 18
storage = "vg_nvme"
emulatessd = true
}
}
}
}

Expand Down

0 comments on commit 9b6b48c

Please sign in to comment.