Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In aws ecr create-repository example the repositoryName is not consistent with parameter #8767

Open
tim-finnigan opened this issue Jun 25, 2024 · 0 comments
Labels
bug This issue is a bug. documentation This is a problem with documentation. ecr p3 This is a minor priority issue

Comments

@tim-finnigan
Copy link
Contributor

Describe the issue

#6686 was originally made to address this but became stale.

If you run:

aws ecr create-repository \
        --repository-name project-a/nginx-web-app

Then the output looks like:

{
    "repository": {
        "repositoryArn": "arn:aws:ecr:us-west-2:<account-id>:repository/project-a/nginx-web-app",
        "repositoryName": "project-a/nginx-web-app",
         ...
}

But the CLI documentation shows sample-repo for repositoryName, when it should be project-a/nginx-web-app.

In the API documentation (https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_CreateRepository.html) there are references to both project-a/nginx-web-app and sample-repo as examples. These should just be consistently documented in the CLI examples.

Links

@tim-finnigan tim-finnigan added bug This issue is a bug. documentation This is a problem with documentation. ecr p3 This is a minor priority issue labels Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. documentation This is a problem with documentation. ecr p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

1 participant