[ECR] [LifeCyclePolicy]: please add tagPatternList selector support to the policy validation
- 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**
AWS added a new selection type named "tagPatternList" to the ECR lifecycle rules several months ago. It works similar to "tagPrefixList" but with wildcards.
Please add tagPatternList support to the ECR lifecycle policy validator.
**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?**
Currently it's not possible to create c7n policy with ECR lifecycle policy which contains rules with "tagPatternList" selector b.c. c7n ECR lifecycle policy validator doesn't know about it.
Contributor guide
Research direction
The issue identifies the ECR lifecycle policy validator as the entry point, but names no repository files or tests. Start by locating that validator and its existing tagPrefixList handling, then verify tagPatternList behavior against AWS ECR policy rules. Done means valid policies using tagPatternList pass validation without regressing existing selectors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100