mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-10 17:20:26 -04:00
add note on EBS cleanup behavior
This commit is contained in:
parent
c9714ce69e
commit
7165156b64
2 changed files with 8 additions and 0 deletions
1
website/.ruby-version
Normal file
1
website/.ruby-version
Normal file
|
|
@ -0,0 +1 @@
|
|||
2.2.2
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue