[aws] Increase possible wait time for nonmonotonic subnet attributes (#38960)

This commit is contained in:
Sloane Hertel 2018-04-27 12:10:22 -04:00 committed by Ryan Brown
parent 44dd9ce80d
commit 9864f874d4

View file

@ -509,7 +509,7 @@ def ensure_subnet_present(conn, module):
def ensure_final_subnet(conn, module, subnet, start_time):
for rewait in range(0, 10):
for rewait in range(0, 30):
map_public_correct = False
assign_ipv6_correct = False
@ -532,7 +532,7 @@ def ensure_final_subnet(conn, module, subnet, start_time):
if map_public_correct and assign_ipv6_correct:
break
time.sleep(3)
time.sleep(5)
subnet = get_matching_subnet(conn, module, module.params['vpc_id'], module.params['cidr'])
return subnet