Closed mwhahaha closed 2 years ago
@mwhahaha I think this is because of https://github.com/dmacvicar/terraform-provider-libvirt/commit/7074fe3c13e08a79f8d82d39aa7f163a88a7caa9. Which changed the syntax of the cpu
block a bit. Try without the =
sign.
This should work:
cpu {
mode = "host-passthrough"
}
Ah yes that was is. I knew there was a change but couldn't find the specifics. Thanks for the pointer.
System Information
Linux distribution
fedora34
Terraform version
Provider and libvirt versions
Broken provider version v0.6.11
Issue
In v0.6.10, the following works in a libvirt_domain definition...
In v0.6.11, that errors with: