containers-roadmap icon indicating copy to clipboard operation
containers-roadmap copied to clipboard

[ECR] [request]: Ability to replicate ECR Repository Policies along with Container Images.

Open arpipati opened this issue 3 years ago • 6 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request What do you want us to build?

At this time, ECR Replication supports Container Image replication. However, Repository policies are not replicated.

Document Reference: https://docs.aws.amazon.com/AmazonECR/latest/userguide/replication.html#replication-considerations

Repository policies, including IAM policies, and lifecycle policies aren't replicated and don't have any effect other than on the repository they are defined for.

Requesting that Repository Policies are also included as part of replication.

Which service(s) is this request for? ECR

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? What outcome are you trying to achieve, ultimately, and why is it hard/impossible to do right now? What is the impact of not having this problem solved? The more details you can provide, the better we'll be able to understand and solve the problem.

Repository images are being replicated as expected in cross-region. However, Repository permissions are not replicated.

We also have Cross-Account replication enabled, and would like to have the repository policies supporting cross-account to replicated repositories as well.

Are you currently working around this issue? How are you currently solving this problem? No

Additional context Anything else we should know?

Attachments If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

arpipati avatar Mar 25 '22 19:03 arpipati

Hello,

Is there any update about this issue ? I see a tag Work in Progress but nothing since :(

By any chance is that going to be added in a close future ?

valentinpelus avatar May 28 '24 10:05 valentinpelus

Is there any update on this? It would be a very useful feature for us

monolith-james avatar Oct 23 '24 10:10 monolith-james

Is there any update on this? It would be a very useful feature for us

I had a call with AWS Paris telling me that they'll keep me in touch about this feature and when and how it will be priorize. Spoilers : still no news now and it's been several months :/

It would have helped us too a lot in a migration on a new region.

valentinpelus avatar Oct 23 '24 12:10 valentinpelus

Hi Team, any update on this, we have almost ~100 repositories and we are replicating into 13 regions. Need this feature to sync tags across regions

TharunKaramTR avatar Feb 07 '25 09:02 TharunKaramTR

this would be a great addition

bithavoc avatar Oct 18 '25 18:10 bithavoc

Just discovered that our replication region is costing us 4x more than our main region because of this... Please we should replicate the lifecycle policies alongside the repo

wvidana avatar Dec 05 '25 15:12 wvidana