Fixes regression introduced by edf1ac1ea6

This commit is contained in:
Bobby Calderwood 2015-04-21 14:56:46 -04:00 committed by Matt Clay
parent 9133ae8c55
commit cd14b8115b

View file

@ -486,6 +486,7 @@ def create_vpc(module, vpc_conn):
'id': sn.id,
})
if subnets is not None:
# Sort subnets by the order they were listed in the play
order = {}
for idx, val in enumerate(subnets):