This is a preview release of the next major version of terraform-provider-libvirt.
New Features
Terraform Registry
- The provider is now available in the Terraform Registry and can be automatically installed by Terraform by using provider requirements.
terraform {
required_providers {
libvirt = {
source = "dmacvicar/libvirt"
version = "0.6.9-pre3"
}
}
}
provider "libvirt" {
# Configuration options
}
$ terraform init
Should automatically install the provider.
Single Linux build
- The Linux build should work on all Linux distributions.
The provider does not link to libvirt anymore. Instead it uses the amazing go-libvirt, which implements the libvirt XDR-based RPC protocol.
Windows and MacOS support
- Because of the above, the provider should work on Windows and MacOS
This release is brought to you by the community. Contributors like @kskewes and @MalloZup made this big port possible. Thanks also to the go-libvirt developers who helped getting digitalocean/go-libvirt#138 and digitalocean/go-libvirt#125 merged.
Release Notes
- There is support for the TLS, SSH and Unix domain sockets transports. They haven't been extensively tested yet. Help is appreciated.