# dmacvicar/terraform-provider-libvirt

Terraform provider to provision infrastructure with Linux's KVM using libvirt

Repository: https://github.com/dmacvicar/terraform-provider-libvirt
Canonical: https://ross.abutalabs.com/products/terraform-provider-libvirt
Language: Go
License Family: other
Topics: terraform, terraform-provider, libvirt, kvm, virtualization
Last push: 2026-07-25T01:32:15+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 86, longevity 100
- inputs: {"age_days": 3840, "days_push": 40, "days_rel": 94, "gap_med": 24.0, "n_releases_24m": 13}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1873, forks 522 (observed 2026-08-28T04:05:47.101759+00:00)

## What it is
A Terraform provider that provisions and manages virtualization resources (virtual machines, storage pools, volumes, and networks) on Linux KVM via the libvirt API. It is a rewrite built on the Terraform Plugin Framework that maps resources directly to libvirt XML schemas for full API fidelity.

## Use cases
- provision KVM virtual machines with Terraform
- manage libvirt storage pools and volumes as code
- define libvirt virtual networks declaratively
- automate VM infrastructure on a Linux hypervisor
- manage remote libvirt hosts over SSH with Terraform

## When to choose
- you use Terraform and want to manage KVM/libvirt VMs alongside cloud resources
- you need full access to libvirt XML features like TPM, VLANs, or encryption
- you want declarative, version-controlled VM lifecycle management on-premise

## When to avoid
- you use hypervisors other than KVM/libvirt (e.g., VMware, Hyper-V)
- you need a GUI for managing virtual machines
- you rely on the legacy v0.8 provider behavior without migrating to the rewrite

## Facets
- artifact type: plugin
- maturity: active
- function: infrastructure-as-code, deployment, configuration-management
- domain: infrastructure-as-code, cloud-computing
- platform: go, cli, self-hosted
- tags: terraform-provider, libvirt, kvm, qemu, virtualization, vm-management, devops, linux

## Member repositories
- dmacvicar/terraform-provider-libvirt (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:47.101759+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:14:49.617474+00:00, confidence not recorded.
  - readme: https://github.com/dmacvicar/terraform-provider-libvirt (fetched 2026-08-28T04:05:47.101759+00:00, sha d1cd21648255)
- Data as of 2026-08-30T08:39:29.467469+00:00.
