FEATURES PRICING ABOUT DOCS LOGIN

cloudstack_disk

Creates a disk volume from a disk offering. This disk volume will be attached to a virtual machine if the optional parameters are configured.

Example Usage

resource "cloudstack_disk" "default" {
  name = "test-disk"
  attach = "true"
  disk_offering = "custom"
  size = 50
  virtual_machine = "server-1"
  zone = "zone-1"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io

REQUEST A DEMO