Skip to content

Instantly share code, notes, and snippets.

Josh Cooley JoshCooley

  • Change Healthcare
  • Nashville, TN
Block or report user

Report or block JoshCooley

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hummus
hummus / gist:8592113
Last active Aug 23, 2019
aws cli + jq example
View gist:8592113
wget http://stedolan.github.io/jq/download/linux64/jq
aws ec2 describe-instances --filters "Name=tag:Name,Values=$NAME" \
"Name=instance-state-name,Values=running" \
| jq -r \
".Reservations[] | .Instances[] | .InstanceId" \
aws ec2 describe-volumes --filters \
"Name=status,Values=available" \
| jq -r ".Volumes[] | .VolumeId" \
You can’t perform that action at this time.