Title -> AWS::ECR::Repository - Request to support Force Removal of Non-empty ECR repositories
Scope of request -> AWS::ECR::Repository supports deleting an empty ECR repository but doesn't support force deleting a non-empty ECR repository.
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.
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.
Links to existing API doc (optional) -> https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html
Category tag (optional) -> Containers
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
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.
Most helpful comment
any further development with this feature request??