mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[aws] Increase possible wait time for nonmonotonic subnet attributes (#38960)
This commit is contained in:
parent
44dd9ce80d
commit
9864f874d4
1 changed files with 2 additions and 2 deletions
|
@ -509,7 +509,7 @@ def ensure_subnet_present(conn, module):
|
||||||
|
|
||||||
|
|
||||||
def ensure_final_subnet(conn, module, subnet, start_time):
|
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
|
map_public_correct = False
|
||||||
assign_ipv6_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:
|
if map_public_correct and assign_ipv6_correct:
|
||||||
break
|
break
|
||||||
|
|
||||||
time.sleep(3)
|
time.sleep(5)
|
||||||
subnet = get_matching_subnet(conn, module, module.params['vpc_id'], module.params['cidr'])
|
subnet = get_matching_subnet(conn, module, module.params['vpc_id'], module.params['cidr'])
|
||||||
|
|
||||||
return subnet
|
return subnet
|
||||||
|
|
Loading…
Reference in a new issue