copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Avoid creating ECR repository when no need

Open genbit opened this issue 3 years ago • 2 comments

Today Copilot creates an empty ECR repository as part of svc init process, even if I provide a link to image repository I built and created outside of copilot. While ECR repositories costs nothing, this creates an unnecessary noise in my AWS inventory, and maybe could be an attack vector? Anyway, I would like Copilot to not create unnecessary AWS resources.

genbit avatar May 16 '22 22:05 genbit

To make things worse, copilot is giving the new ECR repo a clashing name {{$app}}/{{$workload.Name}} that is already in use in our case. To make the switch to copilot we now have to give the copilot app a different name :/

tuky avatar Feb 19 '24 15:02 tuky

To make things even more worse is that after deleting the application, at least it did not remove my repo, but it deleted all images inside :exploding_head:

tuky avatar Feb 19 '24 16:02 tuky