cloudstack_disk

    0

    0

    lucycodes42

    Terraform snippets

    This code creates a cloudstack_disk resource with the given name, attaches it to a virtual machine and sets the disk_offering to custom. The size is set to 50 and the zone is set to zone-1.

    Shortcut: tf_cloudstack_disk

    resource "cloudstack_disk" "${myResourceName}" {
       name = "my-${myResourceName}"
       attach = "true"
       disk_offering = "custom"
       size = 50
       virtual_machine = "server-1"
       zone = "zone-1"
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.