AWS cross-account access for ECR? #5539
-
|
We have an architecture where we push all of our built OCI images into one centralized account, which has no EKS clusters. Our I am doing a POC of In order to do this, the However, when I look for the code that assumes that And (again, as far as I can tell), the AWS account is the account that the pod is running in. Am I reading this correctly, or is there another way to set up cross-account ECR read access? In the long run, it may be feasible to run Thanks for any advice! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That's correct. To the best of my knowledge, everything you need to do to enable this is on the AWS end. Taking Kargo out of the equation entirely and speaking generally about a role in account A requiring access ECR repos in account B, then the registry's policies simply need to grant permissions to a role in account A, identified by its ARN. |
Beta Was this translation helpful? Give feedback.
That's correct.
To the best of my knowledge, everything you need to do to enable this is on the AWS end. Taking Kargo out of the equation entirely and speaking generally about a role in account A requiring access ECR repos in account B, then the registry's policies simply need to grant permissions to a role in account A, identified by its ARN.