Skip to content

AMI housekeeper deletes all AMIs #4571

Open
@nickatct

Description

@nickatct

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions