From 38aec9f20b8331e1b4282510fba78b5625821ddb Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Wed, 19 Nov 2014 15:59:29 -0800 Subject: [PATCH] provide/aws: Document the block device --- .../source/docs/providers/aws/r/instance.html.markdown | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/website/source/docs/providers/aws/r/instance.html.markdown b/website/source/docs/providers/aws/r/instance.html.markdown index d7eeef904a..8ad171d8ec 100644 --- a/website/source/docs/providers/aws/r/instance.html.markdown +++ b/website/source/docs/providers/aws/r/instance.html.markdown @@ -47,6 +47,16 @@ The following arguments are supported: * `iam_instance_profile` - (Optional) The IAM Instance Profile to launch the instance with. * `tags` - (Optional) A mapping of tags to assign to the resource. +* `block_device` - (Optional) A list of block devices to add. Their keys are documented below. + +Each `block_device` supports the following: + +* `device_name` - The name of the device to mount. +* `snapshot_id` - (Optional) The Snapshot ID to mount. +* `volume_type` - (Optional) The type of volume. Can be standard, gp2, or io1. Defaults to standard. +* `volume_size` - (Optional) The size of the volume in gigabytes. +* `delete_on_termination` - (Optional) Should the volume be destroyed on instance termination (defaults true). +* `encrypted` - (Optional) Should encryption be enabled (defaults false). ## Attributes Reference