diff --git a/lib/ansible/modules/cloud/amazon/ec2_vpc_subnet.py b/lib/ansible/modules/cloud/amazon/ec2_vpc_subnet.py index cc13efef609..891c41ccfef 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_vpc_subnet.py +++ b/lib/ansible/modules/cloud/amazon/ec2_vpc_subnet.py @@ -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