-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(aws-ecr): Default RemovalPolicy for ECR is RETAIN #8684
Comments
Do we have any update on this issue? |
@davivcgarcia I haven't looked into this yet. I'm not quite sure what to do because basically in this spot, its not incorrect, just confusing. Since this doc is on the The |
I have tested some of these assumptions and have the below points
There are some related issues which I pointed at the end. Refs: |
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Reference: https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_core.RemovalPolicy.html
The reference states that the default removal policy is DESTROY, but an ECR Repository is actually retained during the destroy phase. I created a repository using
and the generated template is
There should be probably a statement that RETAIN is the default policy for services XYZ and DESTROY for services ABC but I am not sure how to properly phrase this and what actually the defaults are outside of ECR.
This is a 📕 documentation issue
The text was updated successfully, but these errors were encountered: