Skip to content

Terraform module which manages VM internal disk ressources for existing VMs on VMWare Cloud Director.

Notifications You must be signed in to change notification settings

noris-network/terraform-vcd-vm-internal-disk

Repository files navigation

terraform-vcd-vm-internal-disk

Terraform module which manages VM internal disk ressources for existing VMs on VMWare Cloud Director.

Requirements

Name Version
terraform >= 1.1.9
vcd >= 3.9.0

Providers

Name Version
vcd 3.9.0

Modules

No modules.

Resources

Name Type
vcd_vm_internal_disk.vm_internal_disk resource
vcd_storage_profile.storage_profile data source
vcd_vapp.vapp data source

Inputs

Name Description Type Default Required
bus_number (Required) The number of the SCSI or IDE controller itself. number n/a yes
size_in_mb (Required, v3.0+) Size of disk in MB. number n/a yes
storage_profile_name Name of Storage Profile. string n/a yes
unit_number (Required) The device number on the SCSI or IDE controller of the disk. number n/a yes
vapp_name (Required) The vAPP this VM internal disk belongs to. string n/a yes
vdc_org_name The name of the organization to use. string n/a yes
vm_name (Required) VM in vAPP in which internal disk is created. string n/a yes
allow_vm_reboot (Optional) Powers off VM when changing any attribute of an IDE disk or unit/bus number of other disk types, after the change is complete VM is powered back on. Without this setting enabled, such changes on a powered-on VM would fail. Defaults to false. bool false no
bus_type (Optional) Disk bus type. Values can be: IDE, SCSI, SATA, (v3.6+) NVME. Note When the disk type is IDE then VM is required to be powered off. string null no
iops (Optional) Specifies the IOPS for the disk. Default is 0. number 0 no
vdc_name The name of VDC to use. string null no

Outputs

Name Description
vcd_internal_disk Disk Information.

About

Terraform module which manages VM internal disk ressources for existing VMs on VMWare Cloud Director.

Topics

Resources

Stars

Watchers

Forks

Languages