Dynamic Inventory for AWS. Adopted from Ansibles dynamic inventory script.