Last active
August 29, 2015 14:23
-
-
Save suz-lab/93a58cc81bb2900c85f5 to your computer and use it in GitHub Desktop.
テスト
This file contains 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 \ | |
--region ap-northeast-1 \ | |
--owners amazon \ | |
--filters "Name=name,Values=amzn-ami-hvm-*-gp2" \ | |
--query 'reverse(sort_by(Images,&CreationDate))[0].ImageId' \ | |
--output text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment