Fix TypeError: string indices must be integers, not str in ec2.py create_attach_volumes()