Working with dynamic inventory-- inventory scripts link is broken

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 . The link points to github page which shows 404 error.
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

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

Awesome. Thank you Matt !!

Regards - Sanjay

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

Thanks - Sanjay

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