# S1+S2 fixture (GOOD): libvirt_domain sets `memory` AND `memory_unit`, AND enables ACPI.
# Also pins the near-miss: `memory_backing` / `memory_tune` are DIFFERENT
# attributes and must not be mistaken for `memory` by the guard's scan.
resource "libvirt_domain" "good" {
  name        = "s1-good"
  memory      = 2048
  memory_unit = "MiB"
  vcpu        = 2
  type        = "kvm"
  running     = true

  features = {
    acpi = true
    apic = {}
  }
}

resource "libvirt_domain" "no_memory_at_all" {
  name    = "s1-no-memory"
  vcpu    = 1
  type    = "kvm"
  running = true

  features = {
    acpi = true
  }
}
