aws / aws/containers-roadmap

[ECR] [request]: Give a semantically accurate HTTP response when a docker push would exceed a repository's # of images quota

Open
#2,159 0 comments 1 reaction 0 assignees View on GitHub
ECR Proposed
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**
If a docker push would take an ECR repository over the quota for that repository's max number of images, AWS responds with a "403 Unauthorized". This makes the error difficult to debug because it implies the user's AWS credentials are invalid or don't have the correct IAM role. AWS should return either a 400 or a 406.

**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?**
I would just like AWS to actually describe the problem with the authorized but invalid API operation I'm trying to perform instead of relying on me to figure out what's going wrong. I can't imagine how hard this error would be to figure out if our image quota wasn't the default (10_000).

Contributor guide

Open the contributing guide

Research direction

The payload names no repository files, tests, or entry points; start by checking how this roadmap repository records ECR requests and whether an implementation repository is identified. Done would mean AWS ECR returns a semantically accurate 400 or 406 instead of 403 when a push exceeds the repository image quota.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, docker
Domain
cloud, devops
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.