Amazon Server Service Lambda Python For Loop