Closed ekristen closed 4 weeks ago
:tada: This PR is included in version 3.0.0-beta.62 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
:tada: This PR is included in version 3.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Overview
This improves the EC2Image resource by introducing 3 new settings, by default these settings are false because they would change the behavior of the EC2Image discovery.
In Version 4, these settings will be enabled by default.
New Settings
About Disabling Deregistration Protection
There are 2 types of protection, one with a 24 hour cool-down, and 1 without a cool-down. If the image is protected by the option without a cooldown, the image will be removed immediately given that the
DisableDeregistrationProtection
setting is true.If the image is protected with the 24 hour cool-down and
DisableDeregistrationProtection
is true, then aws-nuke will disable the deregistration protection and then filter the resource out due to it not being eligible for removal. You will then have to re-run aws-nuke after 24 hours to remove the remaining images. Using CLI argument--include EC2Image
will target the specific resource type.