terraform-libvirt-ubuntu is a terraform module to deploy Ubuntu cloud images on KVM by libvirt and terraform-provider-libvirt. Virtual machine deployed have 3 networks and two lvm disks (one for os where the ubuntu cloud image is deployed and one for data).
git clone https://github.com/lgaggini/terraform-libvirt-ubuntu
See the examples folder for a simple use case.