github dmacvicar/terraform-provider-libvirt v0.9.9

3 hours ago

Highlights

  • Add CIDR filtering to domain wait_for_ip, allowing deployments to wait for an address from a specific network (related: #1323).
  • Support configurable initial volume allocation for sparse volumes, independently from volume capacity and source image size (related: #1240).
  • Improve state consistency by preserving optional nested configuration and wait_for_ip settings during readback (related: #1341, #1365).

What's Changed

Domain and networking

  • Add an optional CIDR network filter to wait_for_ip (related: #1323).
  • Fix libvirt_domain_interface_addresses with source = "any" so it continues searching until a source returns an IP address (related: #1323).
  • Preserve wait_for_ip configuration across domain running-state changes, preventing spurious diffs (related: #1341).
  • Avoid force-stop failures when a guest shuts down immediately after the configured shutdown timeout (related: #1348).

Storage

  • Make volume allocation configurable at creation time, enabling sparse volumes where supported (related: #1240).
  • Allow volume capacity to exceed the uploaded source image size while still rejecting images larger than the configured capacity (related: #1240).

State consistency

  • Preserve planned values for optional nested objects when libvirt supplies defaults, preventing inconsistent post-apply results for settings such as video device defaults (related: #1365).

Maintenance

  • Update Go dependencies and GitHub Actions.
  • Fix Alpine-based acceptance-test dependency setup.

Full Changelog

Full Changelog: v0.9.8...v0.9.9

Don't miss a new terraform-provider-libvirt release

NewReleases is sending notifications on new releases.