ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
13.94k stars 3.41k forks source link

feature suggestion: ee from private AWS ECR registry #14266

Open LeoSpyke opened 1 year ago

LeoSpyke commented 1 year ago

Please confirm the following

Feature Summary

It would be very useful to pull the execution environments images from a private AWS Elastic Container Registry. The limitation here is due to the 12 hours authentication token validity of the ECR service, that forces us to refresh it manually, which is not a sustainable workaround. Is it possible to implement such feature natively in the Operator?

Thank you

LeoSpyke commented 8 months ago

Any updates on this?

harilalbhaskaran commented 8 months ago

+1

ilyaluk commented 2 days ago

I have implemented a tiny credential plugin that allows you to use private ECR repos for EEs: https://github.com/ilyaluk/awx-credential-plugin-ecr-token/tree/main

However, after implementing it, I realized that EE from ECR work as expected without any credentials, if you run it on EKS and have required permissions for node instance profiles 🙈

Still, might be useful if you don't run AWX on EKS, but want to use ECR.