Project

General

Profile

Feature #3118

EC2 compute resource could show available AMI images

Added by Dominic Cleal almost 6 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources - EC2
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

OpenStack, Rackspace and GCE compute resources can show the available images when creating a new image, but the EC2 provider doesn't and requires the user to know the AMI.

Unfortunately listing all images is excessive as there are many public AMIs, but we could perhaps return the user's or another subset, and let them override it with a custom AMI ID field.


Related issues

Related to Foreman - Feature #6098: When adding Amis to the EC2 compute resource I would like to be told if I typed in a bad amiClosed2014-06-06
Has duplicate Foreman - Feature #16815: List available images for EC2Duplicate2016-10-06

History

#1 Updated by Ohad Levy almost 6 years ago

try:

filter = {"Owner" => "self"}
ec2.images.all( filter ).each { |x|
    puts x.inspect

#2 Updated by Dominic Cleal almost 5 years ago

  • Category changed from Compute resources to Compute resources - EC2

#3 Updated by Dominic Cleal almost 5 years ago

  • Related to Feature #6098: When adding Amis to the EC2 compute resource I would like to be told if I typed in a bad ami added

#4 Updated by Dominic Cleal almost 3 years ago

Also available in: Atom PDF