Decommission Repository
A 3-step recipe with Amazon ECR. We can help you get access.
Recipe · 3 steps
Decommission Repository
with Amazon ECR
List a repository's images then delete it, forcing deletion when images remain.
- List the image IDs the repository contains to decide whether deletion must be forced.
- Delete the repository with the force option so its contained images are removed as part of the deletion.
- Delete the repository directly when it holds no images, leaving the force flag off.
What you'll need to have ready
- repositoryName: The name of the repository to decommission.
- registryId: The AWS account ID associated with the registry.
For your developer
Arazzo workflow amazon-ecr:decommission-repository, 3 operations: ListImages → DeleteRepository → DeleteRepository. Specs on APIs.io.