aws.ecr.Repository with emptyOnDelete=true does not empty the repository on delete #1270
Labels
awaiting-upstream
The issue cannot be resolved without action in another repository (may be owned by Pulumi).
kind/bug
Some behavior is incorrect or out of spec
What happened?
While trying to delete a ECR repository that still has content/images it failed with:
error: operation DELETE failed with "GeneralServiceException": The repository with name 'pulumi-typescript-aws-native-ecr-example/example-4b5b730' in registry with id '0000' cannot be deleted because it still contains images (Service: Ecr, Status Code: 400, Request ID: 00000000-0000-0000-0000-000000000000)
PS this works fine with the classic provider (e.g. at https://github.com/rgl/pulumi-typescript-aws-classic-ecr-example).
Example
PS The full example is at https://github.com/rgl/pulumi-typescript-aws-native-ecr-example.
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: