All checks
Medium
ECR repositories should have at least one lifecycle policy configured
Ensures ECR repositories have at least one lifecycle policy configured to manage image retention.
- service
- ECR
- severity
- Medium
- scope
- evaluated in every region
How to fix it
To configure a lifecycle policy for an ECR repository, refer to the Amazon Elastic Container Registry User Guide.
- Open the Amazon ECR console.
- Choose the repository.
- Configure a lifecycle policy.
- Save the changes.
See which of your accounts this check is failing on.
Book a demo