vm

ballj/vm/netbox

Terraform Module HCL NETBOX
Install
module "vm" {
source = "ballj/vm/netbox"
version = "1.1.0"
}
plain text: /constructs/tfmod-ballj-vm-netbox/install.txt
⭐ Source on GitHub 📦 Registry page
README

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

Inputs (12)
NameTypeDescriptionDefault
clusterstringName of VM cluster in Netbox required
namestringName of the virtual machine required
disknumberThe size in GB of the disk for this VMnull
commentsstringComments for the VMnull
platformstringName of platform in Netbox""
serviceslistServices on the VM[]
tenantstringName of Tenant in Netbox""
vm_tagslist(string)Additional tags to apply to the VM[]
vcpusnumberThe number of VCPUS for this VMnull
memorynumberThe size in MB of the memory of this VMnull
interfaceslistInterfaces on the VM[]
tagslist(string)Tags to apply to all resources created by Terraform[]
Outputs (4)
list
vm_id — Netbox ID for the VM resource
interface_ids — Netbox ID for the interface resources
ip_address_ids — Netbox ID for the interface resources
Resources (5)
netbox_interfacenetbox_ip_addressnetbox_primary_ipnetbox_servicenetbox_virtual_machine
Details
FrameworkTerraform Module
LanguageHCL
Version1.1.0
Cloud NETBOX
★ Stars0
Forks0
Total downloads270
Inputs12
Outputs4
Resources5
Namespaceballj
Updated