Skip to content

ECR: support force upon deletion #2765

@thesurlydev

Description

@thesurlydev

When deleting an ECR repository using the SDK or CLI there's a force option which will delete the repository regardless if there images in the repository. Please support this option, otherwise users are forced to use a custom resource as a workaround.

For reference, see:

  1. https://docs.aws.amazon.com/cli/latest/reference/ecr/delete-repository.html
  2. https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_DeleteRepository.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-ecrRelated to Amazon Elastic Container Registryfeature-requestA feature should be added or improved.needs-cfnThis issue is waiting on changes to CloudFormation before it can be addressed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions