Commit Graph

8 Commits

Author SHA1 Message Date
91abbbae02 [incus] add project and profile management 2026-03-15 15:32:45 +01:00
6a1aa5ad9f Add AI agent config 2026-03-15 15:31:25 +01:00
ad2c8145e3 Remove redundant incus_ prefix from root module variables
Rename variables to remove the useless incus_ prefix:
- incus_hypervisors → hypervisors
- incus_witnesses → witnesses
- incus_token → token
- incus_networks → networks
- incus_storage_pools → storage_pools

Updates all references across provider.tf, groups.tf, network.tf,
storage.tf, and .auto.tfvars files.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-15 14:09:20 +01:00
36eaa727ab Refactor network module to accept free-form config maps
Replace hypervisor_parent/witness_parent strings with hypervisor_config
and witness_config map(string) variables, matching the pattern already
used by the storage module. incus_networks in the root module is updated
from map(number) to map(object) carrying type and the two config maps.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 14:05:40 +01:00
6b53db3ad9 Add reusable storage pool module with lvmcluster san pool
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 09:59:02 +01:00
75273421fe Fix incorrect IP address for nuc witness
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 09:57:48 +01:00
a5ac26937b Extract network resources into reusable modules/network module
Moves the three incus_network resources into a dedicated module called
once per entry in var.incus_networks. State was migrated imperatively
via `terraform state mv` because lxc/incus v1.0.2 does not implement
ResourceWithMoveState, making declarative moved blocks unsupported.
Plan confirms zero creates/destroys after migration.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 21:38:58 +01:00
9b1aa393b3 initial commit 2026-03-14 20:56:04 +01:00