# Working with dynamic inventory-- inventory scripts link is broken

**URL:** <https://forum.ansible.com/t/working-with-dynamic-inventory-inventory-scripts-link-is-broken/32563>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [March 30, 2020, 3:00pm UTC](https://forum.ansible.com/t/working-with-dynamic-inventory-inventory-scripts-link-is-broken/32563 "2020-03-30T15:00:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanjay\_Chakraborty](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sanjay_chakraborty/32/10409_2.png) [@Sanjay\_Chakraborty](https://forum.ansible.com/u/Sanjay_Chakraborty)\
**Post date:** [March 30, 2020, 3:00pm UTC](https://forum.ansible.com/t/working-with-dynamic-inventory-inventory-scripts-link-is-broken/32563/1 "2020-03-30T15:00:20Z")

</div>

Hi,  
I am trying to download ec2.py and ec2.ini for aws auto scaling from [https://docs.ansible.com/ansible/latest/user\_guide/intro\_dynamic\_inventory.html](https://docs.ansible.com/ansible/latest/user_guide/intro_dynamic_inventory.html) . The link points to github page which shows 404 error.  
[https://github.com/ansible/ansible/tree/devel/contrib/inventory](https://github.com/ansible/ansible/tree/devel/contrib/inventory)

Any idea where I can get the ec2.py and ec2.ini.  
side note: I search and download from github those 2 files but I am getting errors after errors.

Please advise.

Thank you in advance.

Regards.  
Sanjay

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [March 30, 2020, 3:04pm UTC](https://forum.ansible.com/t/working-with-dynamic-inventory-inventory-scripts-link-is-broken/32563/2 "2020-03-30T15:04:42Z")

</div>

These files have been moved to another repository: [https://github.com/ansible-collections/community.general/tree/master/scripts/inventory](https://github.com/ansible-collections/community.general/tree/master/scripts/inventory)

---

<div class="post-metadata">

**Author:** ![Sanjay\_Chakraborty](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sanjay_chakraborty/32/10409_2.png) [@Sanjay\_Chakraborty](https://forum.ansible.com/u/Sanjay_Chakraborty)\
**Post date:** [March 30, 2020, 3:32pm UTC](https://forum.ansible.com/t/working-with-dynamic-inventory-inventory-scripts-link-is-broken/32563/3 "2020-03-30T15:32:08Z")

</div>

Awesome. Thank you Matt !!

Regards - Sanjay

---

<div class="post-metadata">

**Author:** ![Sanjay\_Chakraborty](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sanjay_chakraborty/32/10409_2.png) [@Sanjay\_Chakraborty](https://forum.ansible.com/u/Sanjay_Chakraborty)\
**Post date:** [March 30, 2020, 5:54pm UTC](https://forum.ansible.com/t/working-with-dynamic-inventory-inventory-scripts-link-is-broken/32563/4 "2020-03-30T17:54:23Z")

</div>

Hi Matt,  
The link is great for other things, however the ec2.py and ec2.ini are missing in the list.

Thanks - Sanjay

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [March 30, 2020, 5:57pm UTC](https://forum.ansible.com/t/working-with-dynamic-inventory-inventory-scripts-link-is-broken/32563/5 "2020-03-30T17:57:08Z")

</div>

My mistake, I thought they all were migrated to community.general.

ec2.py was migrated to [https://github.com/ansible-collections/community.aws/tree/master/scripts/inventory](https://github.com/ansible-collections/community.aws/tree/master/scripts/inventory)
