Commit 7165156b authored by Clint Shryock's avatar Clint Shryock

add note on EBS cleanup behavior

parent c9714ce6
......@@ -278,6 +278,13 @@ Here is an example using the optional AMI tags. This will add the tags
}
```
-> **Note:** Packer users pre-built AMIs as the source for building images.
These source AMIs may include volumes that are not flagged to be destroyed on
termiation of the instance building the new image. Packer will attempt to clean
up all residual volumes that are not designated by the user to remain after
termination. If you need to preserve those source volumes, you can overwrite the
termination setting by specifying `delete_on_termination=false` in the
`launch_device_mappings` block for the device.
[1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html
[2]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment