Skip to content
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

Shutdown: Prep ECR for deletion #1583

Merged
merged 2 commits into from
Jun 19, 2023
Merged

Shutdown: Prep ECR for deletion #1583

merged 2 commits into from
Jun 19, 2023

Conversation

Mr0grog
Copy link
Collaborator

@Mr0grog Mr0grog commented Jun 19, 2023

#1581 did not succeed because the ECR repositories are not empty. I think we need. to set force_delete on them, then delete them. But first we'll see if restoring the configuration is going to cause Terraform to try and recreate them, or if it just puts things back into a good state.

If it causes Terraform to try and recreate them, I'll close this and just delete them manually.

@Mr0grog
Copy link
Collaborator Author

Mr0grog commented Jun 19, 2023

This needs to recreated the lifecycle policies (which did get successfully deleted), but correctly knows this means no changes to the repositories themselves.

I've added another commit to use force_delete, which I think will prep the repositories to delete correctly in the next PR.

@Mr0grog Mr0grog merged commit ec40e89 into main Jun 19, 2023
@Mr0grog Mr0grog deleted the 1550-prep-ecr-for-deletion branch June 19, 2023 18:39
@Mr0grog
Copy link
Collaborator Author

Mr0grog commented Jun 19, 2023

Part of #1550.

Mr0grog added a commit that referenced this pull request Jun 19, 2023
This is a follow-on to #1581 and #1583. The original deletion of our ECR repos didn't take because they weren't empty and we hadn't configured them with force_delete. #1583 should have configured them so deleting them now works.

Part of #1550.
Mr0grog added a commit that referenced this pull request Jun 19, 2023
This is a follow-on to #1581 and #1583. The original deletion of our ECR repos didn't take because they weren't empty and we hadn't configured them with force_delete. #1583 should have configured them so deleting them now works in this commit.

Part of #1550.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant