# Timeout errors of tests on PR to amazon.aws

**URL:** <https://forum.ansible.com/t/timeout-errors-of-tests-on-pr-to-amazon-aws/10554>\
**Category:** Get Help\
**Tags:** aws\
**Created:** [October 29, 2024, 12:37am UTC](https://forum.ansible.com/t/timeout-errors-of-tests-on-pr-to-amazon-aws/10554 "2024-10-29T00:37:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hitsumabushi](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/hitsumabushi/32/5267_2.png) [@hitsumabushi](https://forum.ansible.com/u/hitsumabushi)\
**Post date:** [October 29, 2024, 12:37am UTC](https://forum.ansible.com/t/timeout-errors-of-tests-on-pr-to-amazon-aws/10554/1 "2024-10-29T00:37:37Z")

</div>

Hi, I created a PR to collection of amazon.aws, but I cannot pass the test if it.

> <https://github.com/ansible-collections/amazon.aws/pull/2364>
>
> \##### SUMMARY
> 
> This PR provide the feature to customize the URIs related to IM…DS.
> The feature helps user who want to develop and test playbooks on local or outside of AWS, but will deploy on AWS.
> We can mock IMDS easily by this PR.
> 
> 
> The way to customize URIs of IMDS seems to have \[interfaces on the class level\](https://github.com/ansible-collections/amazon.aws/blob/e001f0e781f81b915d7492e9dd54552115cb4ba9/plugins/modules/ec2\_metadata\_facts.py#L481-L497), but not expose on \[ansible module level\](https://github.com/ansible-collections/amazon.aws/blob/e001f0e781f81b915d7492e9dd54552115cb4ba9/plugins/modules/ec2\_metadata\_facts.py#L673-L675).
> In this PR, I just create the way to customize options without any refactoring.
> 
> 
> 
> 
> \##### ISSUE TYPE
> 
> \- Feature Pull Request
> 
> \##### COMPONENT NAME
> 
> ec2\_metadata\_facts
> 
> \##### ADDITIONAL INFORMATION

Does anyone know how to fix it?
