# Changing Inventory source numbers

**URL:** <https://forum.ansible.com/t/changing-inventory-source-numbers/28910>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 31, 2018, 1:59pm UTC](https://forum.ansible.com/t/changing-inventory-source-numbers/28910 "2018-10-31T13:59:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josh\_B](https://avatars.discourse-cdn.com/v4/letter/j/8797f3/32.png) [@Josh\_B](https://forum.ansible.com/u/Josh_B)\
**Post date:** [October 31, 2018, 1:59pm UTC](https://forum.ansible.com/t/changing-inventory-source-numbers/28910/1 "2018-10-31T13:59:49Z")

</div>

Hello everyone!!

I am working on deploying code from an AWX Dev server to a prod server. One issue I have seen is the inventory numbers don’t match from server to server. Meaning if I add a new region in DEV its not going to come over as the same in PROD. Now I am hoping that issue will be fixed when we start merging the code. But for now. Is there a way to get into the back end where the inventory source numbers are stored and modify them?

Thanks!

Josh

---

<div class="post-metadata">

**Author:** ![Bill\_Nottingham1](https://avatars.discourse-cdn.com/v4/letter/b/58f4c7/32.png) [@Bill\_Nottingham1](https://forum.ansible.com/u/Bill_Nottingham1)\
**Post date:** [October 31, 2018, 2:10pm UTC](https://forum.ansible.com/t/changing-inventory-source-numbers/28910/2 "2018-10-31T14:10:24Z")

</div>

Josh B (jb3rgman@gmail.com) said:

> I am working on deploying code from an AWX Dev server to a prod server.  
> One issue I have seen is the inventory numbers don't match from server to  
> server. Meaning if I add a new region in DEV its not going to come over as  
> the same in PROD. Now I am hoping that issue will be fixed when we start  
> merging the code. But for now. Is there a way to get into the back end  
> where the inventory source numbers are stored and modify them?

No, refer to them by name instead where you can in the API, see `named_url`  
in the API.

Bill

---

<div class="post-metadata">

**Author:** ![Josh\_B](https://avatars.discourse-cdn.com/v4/letter/j/8797f3/32.png) [@Josh\_B](https://forum.ansible.com/u/Josh_B)\
**Post date:** [October 31, 2018, 2:12pm UTC](https://forum.ansible.com/t/changing-inventory-source-numbers/28910/3 "2018-10-31T14:12:04Z")

</div>

Thanks for the response Bill!
