I'm trying to automate identification of CentOS AWS images. It appears that official CentOS AMIs have an OwnerID value of 410186602215, but I'm not sure if that value is transient or specific to one or more AWS regions.

Is there a maintainer lurking here that can confirm or deny?

Here's the base query I'm testing:

aws ec2 describe-images \
  --owners 410186602215 \
  --output text \
  --query 'reverse(sort_by(Images, &CreationDate))[?starts_with(Description, 
`CentOS Linux 7`)].[ImageId, CreationDate, Description]'

--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W
_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Reply via email to