How simonecnc/kvm-terraform-provisioner works
This repository provisions Ubuntu VMs on KVM through a CSV-driven deployment workflow: an operator runs the Python deployer, which reads VM definitions and invokes the VM creation script. The project also includes Terraform configuration, cloud-init and network settings, and per-VM Terraform management commands. The deployer’s CSV read and script invocation are visible in its excerpt; relationships among the creation script, templates, and generated VM files are not shown, so those links are omitted or marked unverified.
Main entry points: deploy.py Deployment runner · VMs Generated VM files · main.tf Terraform config · Makefile VM commands
Components 12
Provisioning workflow
- Deployment runner
bin/deploy.py - VM definitions
data/vm_list.csv - VM creation script
bin/create_vm.sh
VM configuration
- Terraform config
template/ubuntu-server/main.tf - Cloud-init setup
template/ubuntu-server/cloud_init.cfg - Network settings
template/ubuntu-server/network_config_static.cfg - VM parameters
template/ubuntu-server/ubuntu-server.tfvars - Template deploy script
template/ubuntu-server/deploy.sh
VM management
- VM commands
template/ubuntu-server/Makefile - Generated VM files
VMs
Other components
- Operator
- KVM host
Connections 6
- Operator → Deployment runner: runs
README.md - Deployment runner → VM definitions: reads
bin/deploy.py - Deployment runner → VM creation script: invokes
bin/deploy.py - Deployment runner → Generated VM files: stores configs
README.md - Terraform config → KVM host: provisions on
README.md - VM commands → Generated VM files: manages
README.md