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
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.
We also need this feature.
It should be something line exclude rule.
For example we need to replicate the 299 repos and skip a desired one.
It should be possible to do this via the exclude rule.
Community Note
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
isPREFIX_MATCH
. I would like more options, at least aPREFIX_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!