Fixes regression introduced by edf1ac1ea6
This commit is contained in:
parent
9133ae8c55
commit
cd14b8115b
1 changed files with 8 additions and 7 deletions
|
@ -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…
Reference in a new issue