Skip to content

AMI Housekeeper is not doing pagination on AMI ID's from SSM #4601

Open
@stuartp44

Description

@stuartp44

When trying to house keep against the SSM AMI ID's, it seems that we only receive 10 results from the API with a "NextToken" being available in the response. This is then taken "as is" and does not paginate further down causing the logic to only see 10 SSM image ID's. This then does not correctly identify deletable candidates and therefore deletes known and good in used AMI images.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions