NSX-T Manager Terraform Module

Terraform module which creates an NSX-T Manager virtual machine in a vSphere environment.

The module presently assumes you are deploying from a machine with bash, curl, and jq installed.

The module has been tested with nsx-unified-appliance-3.1.0.0.0.17107212-le.ova. Other versions may or may not work correctly.

Requirements

Name Version
terraform >= 0.13
vsphere >= 1.25.0

Providers

Name Version
random n/a
tls n/a
vsphere >= 1.25.0

Modules

No Modules.

Resources

Name
random_password
tls_certificate
vsphere_ovf_vm_template
vsphere_virtual_machine

Inputs

Name Description Type Default Required
admin_username The username of the NSX-T admin user. The default is "admin". string "admin" no
audit_username The username of the NSX-T audit user. The default is "audit". string "audit" no
cpu_count_override The number of CPUs the NSX-t Manager Appliance should have. Defaults to 0 which uses the CPU count of the deployment selected. number 0 no
datacenter_id The ID of the dataceter the NSX-T Manager Appliance should be created in. string n/a yes
datastore_id The ID of the datastore the NSX-T Manager Appliance should be created in. string n/a yes
deployment_size The deployment size of the NSX-T Manager Appliance. The default is "small" string "small" no
dns The DNS server for the NSX-T Manager Appliance. string n/a yes
enable_root_ssh Should root logins be permitted over SSH to the NSX-T Manager Appliance? bool true no
enable_ssh Should SSH be enabled to the NSX-T Manager Appliance? bool true no
folder_name The name of the vm folder the NSX-T Manager Appliance should be created in. string n/a yes
gateway The gateway of the NSX-T Manager Appliance. string n/a yes
host_system_id The ID of the host system that the NSX-T Manager Appliance OVA will be initially deployed on. string n/a yes
hostname The FQDN of the NSX-T Manager Appliance. DNS records must exist ahead of provisioning or DDNS must be working in the environment string n/a yes
ip_address The IP address of the NSX-T Manager Appliance string n/a yes
mac_address The MAC address of the NSX-T Manager Appliance. string n/a yes
memory_override The ammount of memory the NSX-t Manager Appliance should have. Defaults to 0 which uses the memory size of the deployment selected. number 0 no
netmask The netmask of the nested ESXi hosts. string n/a yes
network_id The ID of the network the NSX-T Manager Appliance should be attached to. string n/a yes
ntp The NTP server for the NSX-T Manager Appliance. string "pool.ntp.org" no
ova_path The full path to the NSX-T Unified Appliance OVA. string n/a yes
resource_pool_id The ID of the resource pool the NSX-T Manager Appliance should be created in. string n/a yes

Outputs

Name Description
admin_password The admin password generated for the NSX-T Manager
audit_password The audit password generated for the NSX-T Manager
root_password The root password generated for the NSX-T Manager