aws ec2 describe-instances \ --filters "Name=instance-state-name,Values=running" \ --output json \ --query "Reservations[*].Instances[*].{PublicIpAddress:PublicIpAddress}" \ | jq 'flatten'
aws ec2 describe-instances \ --filters "Name=instance-state-name,Values=running" \ --output json \ --query "Reservations[*].Instances[*].{PublicIpAddress:PublicIpAddress}" \ | jq 'flatten'