macOS
brew install terraform-provider-libvirtlocal Homebrew formula metadata
安装
brew install terraform-provider-libvirtlocal Homebrew formula metadata
概览
Terraform provisioning with Linux KVM using libvirt
历史
terraform-provider-libvirt is a Terraform provider for managing local or remote libvirt virtualization resources such as virtual machines, networks, storage pools, and volumes.
The project dates to February 2016, making it one of the older community Terraform providers for local virtualization. Its purpose is to let Terraform manage Linux KVM/libvirt infrastructure through provider resources rather than ad hoc shell scripts or virt-manager workflows.
The current README describes v0.9.0 and later as a complete rewrite of the legacy provider. The legacy v0.8 branch remains available, while the rewritten provider is built on the Terraform Plugin Framework and models libvirt XML schemas more directly through libvirtxml.
The provider has long occupied a practical niche for homelab, workstation, CI, and private-cloud users who want Terraform workflows without a public cloud control plane. The GitHub repository has a large star count for a community provider, and Homebrew packages current releases as a convenient way to install the provider binary outside Terraform's normal provider installer paths.
Its documentation now points users to both the Terraform Registry and the OpenTofu registry, reflecting the post-Terraform-fork packaging world where provider consumers may use either registry ecosystem.
Users declare `dmacvicar/libvirt` as a required provider and configure a libvirt URI such as `qemu:///system`, `qemu+ssh://.../system`, `qemu+sshcmd://.../system`, or `qemu+tls://.../system`. The provider then manages domains, networks, pools, and volumes using HCL that maps closely to libvirt XML.
The README also documents local development installation under `~/.terraform.d/plugins/registry.terraform.io/dmacvicar/libvirt/dev/linux_amd64/` with a Terraform CLI dev override, which matters to packagers and provider developers testing local builds.
For package nerds, terraform-provider-libvirt is a classic non-cloud Terraform provider with awkward packaging edges: it is both a Terraform registry provider and a Homebrew formula, depends on libvirt concepts, and bridges the Terraform provider installation model with local virtualization workflows.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
terraform-provider-libvirt | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/dmacvicar/terraform-provider-libvirt
安装元数据
| 软件包键 | brew:terraform-provider-libvirt |
|---|---|
| 版本 | 0.9.8 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/terraform-provider-libvirt |
| 主页 | https://github.com/dmacvicar/terraform-provider-libvirt |
| 仓库 | https://github.com/dmacvicar/terraform-provider-libvirt |
| 上游文档 | https://github.com/dmacvicar/terraform-provider-libvirt#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/dmacvicar/terraform-provider-libvirt/archive/refs/tags/v0.9.8.tar.gz |
| 最后更新 | 2026-05-31T16:11:41Z |
| Pulse | updated |
| 依赖 | libvirt |
| 构建依赖 | go, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | terraform-provider-libvirt |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.