Terraform for Hyper-V Virtualization
Automate Microsoft Hyper-V with Terraform: taliesins/hyperv provider, VM provisioning, virtual switches, and Windows Server-based hypervisor management.
DevOps
Automate Nutanix AHV with Terraform: nutanix/nutanix provider, VM provisioning, categories, and Prism Central infrastructure as code.
Nutanix AHV is the KVM-derived hypervisor that ships with Nutanix HCI. The official nutanix/nutanix Terraform provider drives Prism Central — VMs, categories, projects, images, and self-service blueprints — declaratively.
terraform {
required_providers {
nutanix = {
source = "nutanix/nutanix"
version = "~> 2.0"
}
}
}
provider "nutanix" {
username = var.username
password = var.password
endpoint = var.prism_central_ip
insecure = false
port = 9440
}data "nutanix_cluster" "this" { name = "Acme-PROD" }
data "nutanix_subnet" "this" { subnet_name = "vlan-100" }
data "nutanix_image" "ubuntu" { image_name = "ubuntu-24.04-cloud" }
resource "nutanix_virtual_machine" "web" {
name = "web-1"
cluster_uuid = data.nutanix_cluster.this.metadata.uuid
num_vcpus_per_socket = 2
num_sockets = 1
memory_size_mib = 4096
disk_list {
data_source_reference = {
kind = "image"
uuid = data.nutanix_image.ubuntu.id
}
}
nic_list {
subnet_uuid = data.nutanix_subnet.this.metadata.uuid
}
guest_customization_cloud_init_user_data = base64encode(<<-EOT
#cloud-config
hostname: web-1
users:
- name: ubuntu
ssh_authorized_keys:
- ${chomp(file("~/.ssh/id_ed25519.pub"))}
EOT
)
}resource "nutanix_category_key" "env" {
name = "Environment"
description = "Deployment environment"
}
resource "nutanix_category_value" "prod" {
name = nutanix_category_key.env.name
value = "Production"
}Automate Microsoft Hyper-V with Terraform: taliesins/hyperv provider, VM provisioning, virtual switches, and Windows Server-based hypervisor management.
Provision VMs on Proxmox VE with Terraform using the bpg/proxmox provider: API token auth, cloud-init, LXC containers, and storage pools.
Provision VMs on VMware ESXi and vCenter with Terraform: vsphere provider, templates, cloud-init, networking, and resource pools.
Automate Xen and XCP-ng pools with Terraform: xenorchestra provider, VM provisioning, SR storage, and Citrix Hypervisor lab automation.