From 3222f361ce72f61ed8a092c36ad3dd243b0e4180 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Fri, 17 May 2019 14:33:06 -0700 Subject: [PATCH] add partials --- .../_aws-common-block-device-a-i.html.md | 19 +++++++++++++++++++ .../_aws-common-block-device-i-v.html.md | 17 +++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 website/source/partials/builders/_aws-common-block-device-a-i.html.md create mode 100644 website/source/partials/builders/_aws-common-block-device-i-v.html.md diff --git a/website/source/partials/builders/_aws-common-block-device-a-i.html.md b/website/source/partials/builders/_aws-common-block-device-a-i.html.md new file mode 100644 index 000000000..2dcf18e1b --- /dev/null +++ b/website/source/partials/builders/_aws-common-block-device-a-i.html.md @@ -0,0 +1,19 @@ +- `delete_on_termination` (boolean) - Indicates whether the EBS volume is + deleted on instance termination. Default `false`. **NOTE**: If this + value is not explicitly set to `true` and volumes are not cleaned up by + an alternative method, additional volumes will accumulate after every + build. + +- `device_name` (string) - The device name exposed to the instance (for + example, `/dev/sdh` or `xvdh`). Required for every device in the block + device mapping. + +- `encrypted` (boolean) - Indicates whether or not to encrypt the volume. + By default, Packer will keep the encryption setting to what it was in + the source image. Setting `false` will result in an unencrypted device, + and `true` will result in an encrypted one. + +- `iops` (number) - The number of I/O operations per second (IOPS) that + the volume supports. See the documentation on + [IOPs](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html) + for more information \ No newline at end of file diff --git a/website/source/partials/builders/_aws-common-block-device-i-v.html.md b/website/source/partials/builders/_aws-common-block-device-i-v.html.md new file mode 100644 index 000000000..bdc9f2f79 --- /dev/null +++ b/website/source/partials/builders/_aws-common-block-device-i-v.html.md @@ -0,0 +1,17 @@ +- `no_device` (boolean) - Suppresses the specified device included in the + block device mapping of the AMI. + +- `snapshot_id` (string) - The ID of the snapshot. + +- `virtual_name` (string) - The virtual device name. See the + documentation on [Block Device + Mapping](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html) + for more information. + +- `volume_size` (number) - The size of the volume, in GiB. Required if + not specifying a `snapshot_id`. + +- `volume_type` (string) - The volume type. `gp2` for General Purpose + (SSD) volumes, `io1` for Provisioned IOPS (SSD) volumes, `st1` for + Throughput Optimized HDD, `sc1` for Cold HDD, and `standard` for + Magnetic volumes. \ No newline at end of file