Open sirbully opened 3 years ago
Hi @sirbully, thanks for the issue! We don't have a way of updating the ECR settings in Copilot at the moment 🙇. This would be a new feature request for us.
Hi @efekarakus just came across this now. Is there a way to use an add-on to achieve this?
Hi @afgallo !
Unfortunately not at the moment, today the modification of "app" stacks is a bit difficult. If you'd like your ECR repositories to follow a certain ECR lifecycle policy, there are two possible ways:
So that the ECR repos have a lifecycle policy.
Hope this helps! We're actively working on the "environment manifest" today where we're going to allow modification of the environment stack resources, after that we'll explore the "application manifest" as an issue!
Is application manifest work already in progress? I could try to contribute, especially for ecr lifecycle policies. What I am doing right now is importing copilot-managed repos to Terraform, and then managing lifecycle policies with Terraform
Hi @Fodoj! We haven't yet begun work on app manifests; we're just finishing up env manifests (https://github.com/aws/copilot-cli/issues/3522). We always welcome contributions; please follow the guidelines here. Thanks so much!
Hi, any progress on this so far? I cannot find any information about ECR Lifecycle policies on the Copilot docs.
Hi, any progress on this so far ?
+1
+1
+1
Is there any way we can configure the lifecycle policy for the automatically generated ECR? I don't know if I missed it in the docs or if I should be doing it manually from the AWS console instead