Skip to content

Instantly share code, notes, and snippets.

@lmineiro lmineiro/amis.sh
Created Feb 14, 2019

Embed
What would you like to do?
Find Latest AMI
aws ec2 describe-images \
--filters Name=name,Values=Taupage-AMI-* \
--query 'Images[*].[Name,ImageId,CreationDate]' \
--output text | sort -k3| tail -1 | cut -f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.