add note on EBS cleanup behavior

This commit is contained in:
Clint Shryock 2015-06-19 15:56:05 -05:00
parent c9714ce69e
commit 7165156b64
2 changed files with 8 additions and 0 deletions

1
website/.ruby-version Normal file
View file

@ -0,0 +1 @@
2.2.2

View file

@ -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