vm
ballj/vm/netbox
Terraform Netbox VM This terraform module adds a VM into Netbox. Usage `` module "vm" { source = "ballj/vm/netbox" version = "~> 1.0" cluster = "Cluster-1" name = "VM" } ` Variables Global Variables | Variable | Required | Default | Description | | --------------------- | -------- | ---------------- | ---------------------------------------- | | name | Yes | "" | Name of the virtual machine | | cluster | Yes | N/A | Name of VM cluster in Netbox | | tags | No | [] | Tags to apply to all resources | | vm_tags | No | [] | Additional tags to apply to the VM | | vcpus | No | null | The number of VCPUS for this VM | | memory | No | null | The size in MB of the memory of this VM | | disk | No | null | The size in GB of the disk for this VM | | comments | No | "" | Comments for the VM | | platform
| Name | Type | Description | Default |
|---|---|---|---|
| cluster | string | Name of VM cluster in Netbox | required |
| name | string | Name of the virtual machine | required |
| disk | number | The size in GB of the disk for this VM | null |
| comments | string | Comments for the VM | null |
| platform | string | Name of platform in Netbox | "" |
| services | list | Services on the VM | [] |
| tenant | string | Name of Tenant in Netbox | "" |
| vm_tags | list(string) | Additional tags to apply to the VM | [] |
| vcpus | number | The number of VCPUS for this VM | null |
| memory | number | The size in MB of the memory of this VM | null |
| interfaces | list | Interfaces on the VM | [] |
| tags | list(string) | Tags to apply to all resources created by Terraform | [] |
listvm_id — Netbox ID for the VM resourceinterface_ids — Netbox ID for the interface resourcesip_address_ids — Netbox ID for the interface resources