more stuff
This commit is contained in:
parent
6a43132bc8
commit
79e6a1a543
18 changed files with 426 additions and 144 deletions
|
|
@ -48,9 +48,8 @@ vms = {
|
|||
data_disks = [
|
||||
{
|
||||
size_gb = 50
|
||||
# optional overrides:
|
||||
# storage = "proxmox-tank-1"
|
||||
# slot = "scsi2"
|
||||
# storage defaults to var.zfs_storage_name (proxmox-tank-1)
|
||||
# optional: slot = "scsi2"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -66,6 +65,8 @@ tofu plan -var-file=terraform.tfvars
|
|||
tofu apply -var-file=terraform.tfvars
|
||||
```
|
||||
|
||||
> VMs are created once and then protected: the module sets `lifecycle.prevent_destroy = true` and ignores subsequent config changes. After the initial apply, manage day‑2 changes directly in Proxmox (or remove the lifecycle block if you need OpenTofu to own ongoing updates).
|
||||
|
||||
### Notes
|
||||
- Clones are full clones by default (`full_clone = true`).
|
||||
- Cloud-init injects `cloud_init_user` and `ssh_authorized_keys`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue