# Dynamic inventory scripts

**URL:** <https://forum.ansible.com/t/dynamic-inventory-scripts/38528>\
**Category:** AWX Project\
**Tags:** kubernetes, awx\
**Created:** [October 17, 2023, 9:52pm UTC](https://forum.ansible.com/t/dynamic-inventory-scripts/38528 "2023-10-17T21:52:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lbrigman124](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@lbrigman124](https://forum.ansible.com/u/lbrigman124)\
**Post date:** [October 17, 2023, 9:52pm UTC](https://forum.ansible.com/t/dynamic-inventory-scripts/38528/1 "2023-10-17T21:52:24Z")

</div>

In a previous version of AWX, I was using a python script pointing at another  
service within Kubernetes to provide the inventory.

I set this all up with scripts using the tower-cli tool.

I’m migrating to the latest version of AWX and awx cli (awxkit)  
and I’m finding that the inventory\_source which allowed me  
to provide the dynamic script as an input doesn’t exist.

Moving this over to inventory\_sources looked like an option but  
–source\_path is only valid for --source scm.

I’m not finding a migration path that allows me to provide an inventory script.

Can someone point me in the right direction?
