Created
August 6, 2014 10:11
-
-
Save kenjiskywalker/c57651eac74ca9e81c91 to your computer and use it in GitHub Desktop.
AMIのImageをAMI_NAMEで絞り込んでNameとImageIdを抜き出す ref: http://qiita.com/kenjiskywalker/items/5c0d2326907bca669bb8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ aws ec2 describe-images \ | |
--filters "Name=name,Values='*AMI_NAME*'" \ | |
--query 'Images[].[Name,ImageId]' \ | |
--output text` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment