Terraform provider to provision infrastructure with Linux's KVM using libvirt
-version
flag (https://github.com/dmacvicar/terraform-provider-libvirt/pull/444)Thanks to everyone who contributed: Dario Maiocchi, Silvio Moioli, W. Trevor King, Abhinav Dahiya and others!
cloud_init resource is obsolete and replaced with cloud_init_disk (https://github.com/dmacvicar/terraform-provider-libvirt/pull/410)
The resource does not allow individual fields anymore, and directly takes the user_data, network_config and meta_data fields, which you can provide directly or reading from a file, optionally using a template resource and the rendered function. See the updated documentation.
TF_USE_QEMU_AGENT
variable is deprecated and replaced by a domain property qemu_agent
.
Because variables can be interpolated into properties, and variables can be passed via environment variables, the old behavior can be emulated.dhcp
paramater is an optional parameter now, disabled by default. (https://github.com/dmacvicar/terraform-provider-libvirt/pull/385)localonly
option was added to libvirt-network (https://github.com/dmacvicar/terraform-provider-libvirt/commit/7651ee5824f77f0c7485736315d5a24762f85e60)libvirt_network_dns_hosts_template
can be used to populate the dns_host
attribute in libvirt_network
resources. (https://github.com/dmacvicar/terraform-provider-libvirt/commit/a4d0ba6a319d8728cb5d6c10aae593bdd27da516)netIface["bridge"]
now uses the correct value (https://github.com/dmacvicar/terraform-provider-libvirt/commit/2e93c78b2aea17b48639b3d613f12bfad851fd52)HIGHLIGHTS:
IMPORTANT qemu-agent is not used by default to gather network
interface information anymore. If you need to use, please set
the TF_USE_QEMU_AGENT
environment variable.
Handle gracefully out-of-band destruction of volume and cloud-init resources. Should provide a better end-user experience in day to day operations.
running
attribute when creating a domain