diff --git a/modules/ecr-repository/lifecycle.json b/modules/ecr-repository/lifecycle.json deleted file mode 100644 index 54b85bf..0000000 --- a/modules/ecr-repository/lifecycle.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "rules": [ - { - "rulePriority": 1, - "description": "Keep last ${image_count} images prefixed with version", - "selection": { - "tagStatus": "tagged", - "tagPrefixList": ["v"], - "countType": "imageCountMoreThan", - "countNumber": ${image_count} - }, - "action": { - "type": "expire" - } - }, - { - "rulePriority": 2, - "description": "Expire untagged images older than ${day_count} days", - "selection": { - "tagStatus": "untagged", - "countType": "sinceImagePushed", - "countUnit": "days", - "countNumber": ${day_count} - }, - "action": { - "type": "expire" - } - } - ] -}