resource "cloudstack_disk" "${myResourceName}" {
         name = "my-${myResourceName}"
         attach = "true"
         disk_offering = "custom"
         size = 50
         virtual_machine = "server-1"
         zone = "zone-1"

      Terraform language logo

      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


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.