Skip to content

Terraform module which manages VM independent disk ressources on VMWare Cloud Director.

Notifications You must be signed in to change notification settings

noris-network/terraform-vcd-independent-disk

Repository files navigation

terraform-vcd-independent-disk

Terraform module which manages VM independent disk ressources 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_independent_disk.independent_disk resource
vcd_storage_profile.storage_profile data source

Inputs

Name Description Type Default Required
storage_profile_name Name of Storage Profile. string n/a yes
vdc_org_name The name of the organization to use. string n/a yes
bus_sub_type Disk bus subtype. Values can be: buslogic, lsilogic, lsilogicsas, VirtualSCSI for SCSI, ahci for SATA and (v3.6+) nvmecontroller for NVME. string null no
bus_type 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
metadata_entry A set of metadata entries to assign. list(map(string)) [] no
name Name of this independent disk. string null no
sharing_type (VCD 10.2+) This is the sharing type. Values can be: DiskSharing,ControllerSharing, or None. string null no
size_in_mb Size of disk in MB. number null no
vdc_name The name of VDC to use, optional if defined at provider level. string null no

Outputs

Name Description
id The ID of the Independent Disk.
independent_disk Disk Information

Examples

module "data01" {
  source   = "git::https://github.com/noris-network/terraform-vcd-independent-disk?ref=1.0.0"
  vdc_org_name    = "myORG"
  name            = "data01"
  size_in_mb      = (1024*16)
  bus_type        = "SATA"
  bus_sub_type    = "ahci"
  storage_profile = "myDatastorePolicy"
  sharing_type    = "None"
}

About

Terraform module which manages VM independent disk ressources on VMWare Cloud Director.

Topics

Resources

Stars

Watchers

Forks

Languages