Skip to content

Instantly share code, notes, and snippets.

@kellyp
Created July 27, 2015 19:32
Show Gist options
  • Save kellyp/f747bed633f052c3a3fa to your computer and use it in GitHub Desktop.
Save kellyp/f747bed633f052c3a3fa to your computer and use it in GitHub Desktop.
#! /bin/bash
aws ec2 describe-images --owners aws-marketplace --filter "Name=name,Values=*'CentOS 7 x86_64'*" --query 'Images[*].ImageId' --output text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment