vsphere-nested-esxi-disk-parser
jd4883/vsphere-nested-esxi-disk-parser/vmware
Terraform Module
HCL
VMWARE
Small parser module for Nested ESXI Host disks; intended to be used dynamically to keep code more consolidated for spinning nested ESXI hosts.
Install
module "vsphere-nested-esxi-disk-parser" {
source = "jd4883/vsphere-nested-esxi-disk-parser/vmware"
version = "1.1.0"
}
README
terraform-vmware-vsphere-nested-esxi-disk-parser Small parser module for Nested ESXI Host disks; intended to be used dynamically to keep code more consolidated for spinning nested ESXI hosts.
Inputs (25)
| Name | Type | Description | Default |
|---|---|---|---|
| ssd_datastore | string | Datastore for SSD storage | required |
| ssd_size | number | SSD Size in GB | required |
| index | number | the index plus 1, expects 3-4 depending on your vm count | required |
| disk_path | string | Disk path within a datastore to store disks | required |
| hdd_size | number | HDD Size in GB | required |
| path | string | (Optional) When using attach, this parameter controls the path of a virtual disk | required |
| hdd_datastore | string | Datastore for HDD storage | required |
| subpath_prefix | string | The prefix name for the subpath | "vESXI-" |
| ssd_count | number | Total count of SSD's to provision per VM | 1 |
| keep_on_remove | bool | (Optional) Keep this disk when removing the device or destroying the virtual mac | false |
| hdd_count | number | Total count of HDD's to provision per VM | 1 |
| io_share_level | string | (Optional) The share allocation level for this disk. Can be one of low, normal, | "normal" |
| controller_type | string | (Optional) The type of storage controller to attach the disk to. Can be scsi, s | "scsi" |
| eagerly_scrub | bool | (Optional) If set to true, the disk space is zeroed out on VM creation. This wi | false |
| storage_policy_id | string | (Optional) The UUID of the storage policy to assign to this disk. | "" |
| os_size | number | 16 | |
| thin_provisioned | bool | (Optional) If true, this disk is thin provisioned, with space for the file being | true |
| write_through | bool | (Optional) If true, writes for this disk are sent directly to the filesystem imm | false |
| attach | bool | (Optional) Attach an external disk instead of creating a new one. Implies and c | false |
| io_limit | number | (Optional) The I/O reservation (guarantee) that this disk has, in IOPS. The def | -1 |
| io_reservation | number | (Optional) The I/O reservation (guarantee) that this disk has, in IOPS. The def | 0 |
| io_share_count | number | (Optional) The share count for this disk when the share level is custom. | 1000 |
| disk_mode | string | (Optional) The mode of this this virtual disk for purposes of writes and snapsho | "persistent" |
| os_d3_size | number | 8 | |
| os_d2_size | number | 4 |
Outputs (1)
disksDetails
FrameworkTerraform Module
LanguageHCL
Version1.1.0
Cloud VMWARE
Total downloads769
Inputs25
Outputs1
Namespacejd4883
Updated