From 2b152f38b2f72434e499306ce4c659e879f7a950 Mon Sep 17 00:00:00 2001 From: Joe Topjian Date: Thu, 12 Feb 2015 03:26:22 +0000 Subject: [PATCH] Doc update for instance volume attachment. --- .../openstack/r/compute_instance_v2.html.markdown | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/website/source/docs/providers/openstack/r/compute_instance_v2.html.markdown b/website/source/docs/providers/openstack/r/compute_instance_v2.html.markdown index ba03ee01c6..36805ed0d2 100644 --- a/website/source/docs/providers/openstack/r/compute_instance_v2.html.markdown +++ b/website/source/docs/providers/openstack/r/compute_instance_v2.html.markdown @@ -71,6 +71,9 @@ The following arguments are supported: * `block_device` - (Optional) The object for booting by volume. The block_device object structure is documented below. Changing this creates a new server. +* `volume` - (Optional) Attach an existing volume to the instance. The volume + structure is described below. + The `network` block supports: * `uuid` - (Required unless `port` is provided) The network UUID to attach to @@ -96,6 +99,14 @@ The `block_device` block supports: * `destination_type` - (Optional) The type that gets created. Possible values are "volume" and "local". +The `volume` block supports: + +* `volume_id` - (Required) The UUID of the volume to attach. + +* `device` - (Optional) The device that the volume will be attached as. For + example: `/dev/vdc`. Omit this option to allow the volume to be + auto-assigned a device. + ## Attributes Reference The following attributes are exported: