# Overriding the AWX EE Image with the instance group Image

**URL:** <https://forum.ansible.com/t/overriding-the-awx-ee-image-with-the-instance-group-image/37298>\
**Category:** AWX Project\
**Tags:** awx, ee\
**Created:** [November 3, 2022, 9:09am UTC](https://forum.ansible.com/t/overriding-the-awx-ee-image-with-the-instance-group-image/37298 "2022-11-03T09:09:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mani3887](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@mani3887](https://forum.ansible.com/u/mani3887)\
**Post date:** [November 3, 2022, 9:09am UTC](https://forum.ansible.com/t/overriding-the-awx-ee-image-with-the-instance-group-image/37298/1 "2022-11-03T09:09:54Z")

</div>

Hi Team,

I am running AWX 21.4.0 version with a custom AWX EE(built from latest stable runner image). In AWX in EE, I created a new one and provided this new AWX EE image. In the instance groups window, I created a Container group, where I gave in a different pod spec with a different image. I was thinking that the pod spec image will override the image configured in EE. But I observe that this is not happening. Can you please let me know whether there is a provision to override the EE image?

Thanks and Regards,  
Mani

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [November 4, 2022, 5:36pm UTC](https://forum.ansible.com/t/overriding-the-awx-ee-image-with-the-instance-group-image/37298/2 "2022-11-04T17:36:57Z")

</div>

Mani,

Ultimately, the EE that is used to run your job is the one set at the Job Template level.

Changing the image on the podspec only changes the pod that is started when launching the job.

So here is what it all looks like,

Pod \> podspecimage \> ansible-runner \> podman \> your\_custom\_ee (this is where your job runs)

You need you create an EE with your\_custom\_ee and assign it to the JT

Hope that helps,

AWX Team

---

<div class="post-metadata">

**Author:** ![mani3887](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@mani3887](https://forum.ansible.com/u/mani3887)\
**Post date:** [November 4, 2022, 9:57pm UTC](https://forum.ansible.com/t/overriding-the-awx-ee-image-with-the-instance-group-image/37298/3 "2022-11-04T21:57:35Z")

</div>

Thanks, but what I observe is that the EE field is not a mandatory field. If I do not give any in this field, AWX picks up the global EE image. To clarify, in the instance group, I was pulling the AWX EE image

containers:

- name: worker  
image: /custom-awx-ee  
env:

and I had not given any EE image in my JT. I assumed it would have picked up the image I had provided in the Instance group. But that did not happen.

Thanks and Regards,  
Mani

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [January 13, 2023, 6:41pm UTC](https://forum.ansible.com/t/overriding-the-awx-ee-image-with-the-instance-group-image/37298/4 "2023-01-13T18:41:52Z")

</div>

Hi, were you able to resolve this? Why not create a EE in the awx UI with that custom-awx-ee, and attach that EE to your JT?

AWX Team
