-
Notifications
You must be signed in to change notification settings - Fork 4.5k
ECR: support force upon deletion #2765
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-ecrRelated to Amazon Elastic Container RegistryRelated to Amazon Elastic Container Registryfeature-requestA feature should be added or improved.A feature should be added or improved.needs-cfnThis issue is waiting on changes to CloudFormation before it can be addressed.This issue is waiting on changes to CloudFormation before it can be addressed.
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-ecrRelated to Amazon Elastic Container RegistryRelated to Amazon Elastic Container Registryfeature-requestA feature should be added or improved.A feature should be added or improved.needs-cfnThis issue is waiting on changes to CloudFormation before it can be addressed.This issue is waiting on changes to CloudFormation before it can be addressed.
When deleting an ECR repository using the SDK or CLI there's a
forceoption 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: