docs: properly indent sub-options for ami_block_device_mappings

This commit is contained in:
Megan Marsh 2017-06-28 14:26:49 -07:00
parent 61be59510c
commit 657ec011d7
1 changed files with 24 additions and 24 deletions

View File

@ -76,38 +76,38 @@ builder.
on the type of VM you use. The block device mappings allow for the following on the type of VM you use. The block device mappings allow for the following
configuration: configuration:
- `delete_on_termination` (boolean) - Indicates whether the EBS volume is - `delete_on_termination` (boolean) - Indicates whether the EBS volume is
deleted on instance termination. Default `false`. **NOTE**: If this deleted on instance termination. Default `false`. **NOTE**: If this
value is not explicitly set to `true` and volumes are not cleaned up by value is not explicitly set to `true` and volumes are not cleaned up by
an alternative method, additional volumes will accumulate after an alternative method, additional volumes will accumulate after
every build. every build.
- `device_name` (string) - The device name exposed to the instance (for - `device_name` (string) - The device name exposed to the instance (for
example, `/dev/sdh` or `xvdh`). Required when specifying `volume_size`. example, `/dev/sdh` or `xvdh`). Required when specifying `volume_size`.
- `encrypted` (boolean) - Indicates whether to encrypt the volume or not - `encrypted` (boolean) - Indicates whether to encrypt the volume or not
- `iops` (integer) - The number of I/O operations per second (IOPS) that the - `iops` (integer) - The number of I/O operations per second (IOPS) that the
volume supports. See the documentation on volume supports. See the documentation on
[IOPs](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html) [IOPs](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html)
for more information for more information
- `no_device` (boolean) - Suppresses the specified device included in the - `no_device` (boolean) - Suppresses the specified device included in the
block device mapping of the AMI block device mapping of the AMI
- `snapshot_id` (string) - The ID of the snapshot - `snapshot_id` (string) - The ID of the snapshot
- `virtual_name` (string) - The virtual device name. See the documentation on - `virtual_name` (string) - The virtual device name. See the documentation on
[Block Device [Block Device
Mapping](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html) Mapping](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html)
for more information for more information
- `volume_size` (integer) - The size of the volume, in GiB. Required if not - `volume_size` (integer) - The size of the volume, in GiB. Required if not
specifying a `snapshot_id` specifying a `snapshot_id`
- `volume_type` (string) - The volume type. `gp2` for General Purpose (SSD) - `volume_type` (string) - The volume type. `gp2` for General Purpose (SSD)
volumes, `io1` for Provisioned IOPS (SSD) volumes, and `standard` for Magnetic volumes, `io1` for Provisioned IOPS (SSD) volumes, and `standard` for Magnetic
volumes volumes
- `ami_description` (string) - The description to set for the - `ami_description` (string) - The description to set for the
resulting AMI(s). By default this description is empty. This is a resulting AMI(s). By default this description is empty. This is a