Cloudformation-coverage-roadmap: AWS::ECR::Repository - Request to support Force Removal of Non-empty ECR repositories

Created on 7 Jun 2020  路  7Comments  路  Source: aws-cloudformation/cloudformation-coverage-roadmap

  1. Title -> AWS::ECR::Repository - Request to support Force Removal of Non-empty ECR repositories

  2. Scope of request -> AWS::ECR::Repository supports deleting an empty ECR repository but doesn't support force deleting a non-empty ECR repository.

  3. Expected behavior -> In Delete, it should allow an option to force delete a non-empty ECR repository and delete all Images in the ECR repository.

  4. Test case recommendation (optional) -> it should help me delete an ECR repository given a force flag is supplied; it shouldn't delete a non-empty repository if the force flag is not provided.

  5. Links to existing API doc (optional) -> https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html

  6. Category tag (optional) -> Containers

  7. Any additional context (optional)

This is needed for CDK to support a removal policy which can force delete a non-empty ECR repository.
https://github.com/aws/aws-cdk/issues/2765
https://docs.aws.amazon.com/cdk/api/latest/docs/aws-ecr-readme.html
https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_core.RemovalPolicy.html

compute

Most helpful comment

any further development with this feature request??

All 7 comments

any further development with this feature request??

I would also like to know if there is any further development.

Is this being looked at by AWS yet?

Really looking forward to this. Not many CF resources error out like this one. For instance you can delete a secret from cloudformation, and you can delete a codebuild report group (https://github.com/aws-cloudformation/aws-cloudformation-coverage-roadmap/issues/390)

@luiseduardocolon Any chance we can have someone look at this request please ?

Thank you for opening this. We now have this issue under consideration. We will get back to you once we have more updates.

Thanks @bradgr, any chance you can update us on this please ? CDK team are blocked on this.

Was this page helpful?
0 / 5 - 0 ratings