Handy JQ Queries

Pull EC2 Instance ID with specified tag applied

$TAG_VALUE="Some Value"
aws ec2 describe-instances | jq -r ".Reservations[].Instances[] | select (.Tags[].Value == \"${TAG_VALUE}\") | .InstanceId