Updated project to improve guidance
Some checks failed
terraform / validate (push) Failing after 37s

This commit is contained in:
CodeGit 2026-09-03 19:06:27 +01:00
parent 63008b3ab9
commit 4ea6d8b9e5
26 changed files with 1091 additions and 695 deletions

View file

@ -3,7 +3,16 @@ terraform {
required_providers {
libvirt = {
source = "dmacvicar/libvirt"
source = "dmacvicar/libvirt"
# Deliberately pinned to the 0.8.x line, not just "not yet upgraded."
# v0.9.0 (Nov 2025) was an intentional, permanent fork of this
# provider to a fully-regenerated schema mapping 1:1 to libvirt's own
# XML the maintainer kept 0.8.x alive in parallel specifically for
# existing configs like this one, rather than it being a transitional
# version to move past. `~> 0.8` (>= 0.8.0, < 0.9.0) stays on that
# legacy line on purpose; every resource block in main.tf uses that
# schema (verified against the provider's own docs at tag v0.8.3
# see docs/04-tofu.md's "Where this track actually stands").
version = "~> 0.8"
}
}
@ -11,7 +20,7 @@ terraform {
# qemu+ssh:// so this can be run from your workstation against the T630;
# requires the connecting user to be in the T630's `libvirt` and `kvm`
# groups (see docs/SETUP.md step 2) no sudo needed after that.
# groups (see docs/01-bootstrap.md step 2) no sudo needed after that.
provider "libvirt" {
uri = var.libvirt_uri
}