brentley / appmeshworkshop

23 stars 45 forks source link

Deleting CloudFormation template fails due to ECR repositories having images #31

Closed nbrandaleone closed 4 years ago

nbrandaleone commented 4 years ago

We should change the retain policy for the repositories, or see if we can completely empty them, and then delete them. I think it is easier to simply change the retain policy, and have a statement in the docs that the repos will exist beyond the lifetime of the workshop.

Failure message: The repository with name 'appme-cryst-1ohx2vfar9cxh' in registry with id '991225764181' cannot be deleted because it still contains images (Service: AmazonECR; Status Code: 400; Error Code: RepositoryNotEmptyException; Request ID: 450688b7-a9c6-4367-bf73-0d0bce226a34)