[ECR] [request]: More replication filterType options (PREFIX_NOT_MATCH)
- 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**
ECR replication is great. It allows us to build our images once, push it once to a convenient account/region, and have it replicated to all others!
However, we would like to filter which repositories are replicated. Right now, the only `filterType` is `PREFIX_MATCH`. I would like more options, at least a `PREFIX_NOT_MATCH` option, which would do the opposite: exclude the repositories matching the prefix.
**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?**
Right now, we have a lot of repositories which are replicated. They do not share a common prefix. We want to add new repositories and not have them be replicated, as it would be a waste of resource and "deletion replication" (have an image be deleted from a replicated repo when it is deleted from the "source" repo) is also an unsolved problem without good solution.
**Are you currently working around this issue?**
We are working on it. We do not have a clean, enjoyable solution, and will probably have to maintain a list of replicated repositories, which is not ideal as the prefix for the repositories we do not want is the easy and clean path for us.
**Additional context**
N/A - thanks for reading me!
Contributor guide
Research direction
No repository files, tests, or entry points are mentioned. Start by reviewing the ECR replication filterType behavior and the PREFIX_MATCH configuration described in the issue; done would provide a PREFIX_NOT_MATCH option that excludes repositories matching a prefix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100