FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

azure_data_disk

Adds a data disk to a virtual machine. If the name of an existing disk is given, it will attach that disk. Otherwise it will create and attach a new empty disk.

Example Usage

resource "azure_data_disk" "data" {
    lun = 0
    size = 10
    storage_service_name = "yourstorage"
    virtual_machine = "server1"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io