its for the kardoscloud
  • HCL 66.7%
  • Nix 33.3%
Find a file
2026-10-15 21:39:48 +02:00
.terraform added forgejo services to forgejo host part 2 2026-10-15 21:25:17 +02:00
modules added forgejo services to forgejo host part 2 2026-10-15 21:25:17 +02:00
nixos remote change forgejo landing page 2026-10-15 21:39:48 +02:00
random_generator initial 2026-05-04 14:37:36 +02:00
.gitignore Stop tracking terraform state files 2026-10-15 21:38:35 +02:00
.terraform.lock.hcl remote nixos build 2026-10-12 22:17:59 +02:00
deploy.tf added build on target 2026-10-15 07:34:26 +02:00
main.tf import current vms and add forgejo placeholder 2026-10-12 21:39:35 +02:00
modules.tf initial 2026-05-04 14:37:36 +02:00
README.MD added nixos and debian vm templating 2026-05-11 16:25:34 +02:00
variables.tf added nixos and debian vm templating 2026-05-11 16:25:34 +02:00
vms.tf added forgejo services to forgejo host part 2 2026-10-15 21:25:17 +02:00

pveum user add terraform@pve

pveum role add Terraform -privs "Realm.AllocateUser, VM.PowerMgmt, VM.GuestAgent.Unrestricted, Sys.Console, Sys.Audit, Sys.AccessNetwork, VM.Config.Cloudinit, VM.Replicate, Pool.Allocate, SDN.Audit, Realm.Allocate, SDN.Use, Mapping.Modify, VM.Config.Memory, VM.GuestAgent.FileSystemMgmt, VM.Allocate, SDN.Allocate, VM.Console, VM.Clone, VM.Backup, Datastore.AllocateTemplate, VM.Snapshot, VM.Config.Network, Sys.Incoming, Sys.Modify, VM.Snapshot.Rollback, VM.Config.Disk, Datastore.Allocate, VM.Config.CPU, VM.Config.CDROM, Group.Allocate, Datastore.Audit, VM.Migrate, VM.GuestAgent.FileWrite, Mapping.Use, Datastore.AllocateSpace, Sys.Syslog, VM.Config.Options, Pool.Audit, User.Modify, VM.Config.HWType, VM.Audit, Sys.PowerMgmt, VM.GuestAgent.Audit, Mapping.Audit, VM.GuestAgent.FileRead, Permissions.Modify"

pveum aclmod / -user terraform@pve -role Terraform

pveum user token add terraform@pve provider --privsep=0
terraform init
terraform plan -var-file=<<filename>>.tfvars
terraform apply -var-file=<<filename>>.tfvars