Open
Description
Since the migration of the launch template using SSM for AMI lookup, the AMI housekeeper function will delete all existing AMIs.
The filter here uses ami-id
instead of ami_id
, the latter of which is in the parameter name. As a result, the AMI in-use will be mistakenly considered not-in-use, thus deleted.
In addition, the ssmParameterNames
in options
parameter are not used. Perhaps the specified names should be used in the filter.