Flummoxed by IT: bash script to query AWS EC2 meta-data