Using Amazon CLI, is there a way to get the public ip address of the current EC2? I\'m just looking for the single string value, so not the json response describe-addresses
curl http://checkip.amazonaws.com
this returns the public ip address.