vsphere_virtual_disk

    0

    0

    lucycodes42

    Terraform snippets

    This code creates a virtual disk called "myDisk" in the "Datacenter" datastore and types it as a "thin" virtual disk.

    Shortcut: tf_vsphere_virtual_disk

    resource "vsphere_virtual_disk" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
    
       size = 2
       vmdk_path = "myDisk.vmdk"
       datacenter = "Datacenter"
       datastore = "local"
       type = "thin"
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.