Skip to content

Explicitly query image by ID by default for deprecated AMIs #587

@sillidev

Description

@sillidev

🙍 Problem Statement

AWS changed image visibility for deprecated ones (ref). In short, non-owner user can only describe deprecated AMI by by specifying its ID.

AFAIK, for Debian 8/Centos 6/Centos 7, all matched results returned from image_search are all older than 2 years. Soon they will no longer visible in search query.

Impact:

  • Instance cannot be created for Debian 8/Centos 6/Centos 7.

End user can set image_id for such platform in their kitchen.yml as work-around. It's nice that the driver works out-of-box.

❔ Possible Solution

For end-of-life OS which doesn't have new AMI anymore, we can explicitly set their image_id.

⤴️ Describe alternatives you've considered

n/a

➕ Additional context

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions