aws / aws/containers-roadmap

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

Open
#1,690 6 comments 77 reactions 0 assignees View on GitHub
ECR Work in Progress
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) 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.)

Contributor guide

Open the contributing guide

Research direction

No repository files, tests, or implementation entry points are identified in the issue. Start by reviewing the linked AWS ECR replication documentation and the request details for cross-region and cross-account behavior. Done means repository policies, including IAM and lifecycle policies, replicate with container images.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
authorization, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.