Clone of ansible ec2.py dynamic inventory script written in JavaScript.