Open cb372 opened 8 years ago
I think this functionality could be in AMIable as well. I'm already working on adding "recommend an AMI based on the current AMI choice for a stack". This is basically the same logic as you're describing here.
This is the issue we were talking about last week @adamnfish @TBonnin
I'm sure you discussed this IRL, but the logic for doing this is very simple, and already exists in Amiable. Copying it or adding an API endpoint in Amiable would both be good choices. The former is significantly less work.
Instead of hardcoding the AMI ID, it should have some kind of query condition e.g. "the latest eu-west-1 hvm:ebs-ssd AMI".
Prism can give us this info, and maybe there's a corresponding API for https://cloud-images.ubuntu.com/locator/ec2/ ?