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

pull/39437/head
Sloane Hertel 7 years ago committed by Ryan Brown
parent 44dd9ce80d
commit 9864f874d4

@ -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

Loading…
Cancel
Save