Merge pull request #1184 from bobby/ec2_vpc-without-subnets

Fixes regression introduced by edf1ac1ea6
reviewable/pr18780/r1
Brian Coca 10 years ago
commit 8ce2a18921

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

Loading…
Cancel
Save