Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Get extra image data from AWS image names #34

Closed
major opened this issue Oct 10, 2022 · 0 comments · Fixed by #35
Closed

Get extra image data from AWS image names #34

major opened this issue Oct 10, 2022 · 0 comments · Fixed by #35

Comments

@major
Copy link
Member

major commented Oct 10, 2022

The image names on AWS provide some additional information that might be useful in the locator. For example, the distinction between beta and non-beta images is really only made within the image name itself:

> $ aws --region=us-east-1 ec2 describe-images --owner 309956199498 --filter "Name=is-public,Values=true" | jq -r ".Images[].Name" | sort
RHEL-6.10_HVM-20210318-x86_64-0-Hourly2-GP2
RHEL-7.9_HVM-20210208-x86_64-0-Hourly2-GP2
RHEL-7.9_HVM-20211005-x86_64-0-Hourly2-GP2
RHEL-7.9_HVM-20220222-x86_64-0-Hourly2-GP2
RHEL-7.9_HVM-20220512-x86_64-1-Hourly2-GP2
RHEL-8.1.0_HVM-20210907-arm64-0-Hourly2-GP2
RHEL-8.1.0_HVM-20210907-x86_64-0-Hourly2-GP2
RHEL-8.2.0_HVM-20210907-arm64-0-Hourly2-GP2
RHEL-8.2.0_HVM-20210907-x86_64-0-Hourly2-GP2
RHEL-8.3.0_HVM-20201031-arm64-0-Hourly2-GP2
RHEL-8.3.0_HVM-20201031-x86_64-0-Hourly2-GP2
RHEL-8.3.0_HVM-20201222-arm64-0-Hourly2-GP2
RHEL-8.3_HVM-20210209-arm64-0-Hourly2-GP2
RHEL-8.3_HVM-20210209-x86_64-0-Hourly2-GP2
RHEL-8.4.0_HVM-20210504-arm64-2-Hourly2-GP2
RHEL-8.4.0_HVM-20210504-x86_64-2-Hourly2-GP2
RHEL-8.4.0_HVM-20210825-arm64-0-Hourly2-GP2
RHEL-8.4.0_HVM-20210825-x86_64-0-Hourly2-GP2
RHEL-8.4.0_HVM_BETA-20210309-arm64-1-Hourly2-GP2
RHEL-8.4.0_HVM_BETA-20210309-x86_64-1-Hourly2-GP2
RHEL-8.5.0_HVM-20211103-arm64-0-Hourly2-GP2
RHEL-8.5.0_HVM-20211103-x86_64-0-Hourly2-GP2
RHEL-8.5.0_HVM_BETA-20210902-arm64-5-Hourly2-GP2
RHEL-8.5.0_HVM_BETA-20210902-x86_64-5-Hourly2-GP2
RHEL-8.5_HVM-20220127-arm64-3-Hourly2-GP2
RHEL-8.5_HVM-20220127-x86_64-3-Hourly2-GP2
RHEL-8.6.0_HVM-20220503-arm64-2-Hourly2-GP2
RHEL-8.6.0_HVM-20220503-x86_64-2-Hourly2-GP2
RHEL-8.6.0_HVM_BETA-20220302-arm64-5-Hourly2-GP2
RHEL-8.6.0_HVM_BETA-20220302-x86_64-5-Hourly2-GP2
RHEL-8.7.0_HVM_BETA-20220830-arm64-0-Hourly2-GP2
RHEL-8.7.0_HVM_BETA-20220830-x86_64-0-Hourly2-GP2
RHEL-9.0.0_HVM-20220513-arm64-0-Hourly2-GP2
RHEL-9.0.0_HVM-20220513-x86_64-0-Hourly2-GP2
RHEL-9.0.0_HVM_BETA-20211026-arm64-10-Hourly2-GP2
RHEL-9.0.0_HVM_BETA-20211026-x86_64-10-Hourly2-GP2
RHEL-9.1.0_HVM_BETA-20220829-arm64-0-Hourly2-GP2
RHEL-9.1.0_HVM_BETA-20220829-x86_64-0-Hourly2-GP2
RHEL_HA-7.9_HVM-20210315-x86_64-2-Hourly2-GP2
RHEL_HA-8.3_HVM-20210315-x86_64-1-Hourly2-GP2
RHEL_HA-8.4.0_HVM-20210504-x86_64-2-Hourly2-GP2
RHEL_HA-8.5.0_HVM-20211103-x86_64-0-Hourly2-GP2
RHEL_HA-8.5.0_HVM_BETA-20210902-x86_64-5-Hourly2-GP2
RHEL_HA-8.5_HVM-20220127-x86_64-3-Hourly2-GP2
RHEL_HA-8.6.0_HVM-20220503-x86_64-2-Hourly2-GP2
RHEL_HA-9.0.0_HVM-20220513-x86_64-0-Hourly2-GP2
RHEL_HA-9.0.0_HVM_BETA-20211026-x86_64-10-Hourly2-GP2
RHEL-SAP-8.1.0_HVM-20211007-x86_64-0-Hourly2-GP2
RHEL-SAP-8.2.0_HVM-20211007-x86_64-0-Hourly2-GP2
major added a commit that referenced this issue Oct 10, 2022
Parse additional information about AWS images using their name.

Fixes #34

Signed-off-by: Major Hayden <major@redhat.com>
major added a commit that referenced this issue Oct 10, 2022
Parse additional information about AWS images using their name.

Fixes #34

Signed-off-by: Major Hayden <major@redhat.com>
@major major closed this as completed in #35 Oct 11, 2022
major added a commit that referenced this issue Oct 11, 2022
Parse additional information about AWS images using their name.

Fixes #34

Signed-off-by: Major Hayden <major@redhat.com>
@F-X64 F-X64 added this to the Implement raw image data intake milestone Nov 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants