add count rules within docker

This commit is contained in:
Jun-te Kim 2026-02-02 18:54:39 +00:00
parent 92a6624b67
commit 6a89e8fc71

View file

@ -19,6 +19,8 @@ resource "aws_ecr_lifecycle_policy" "my_repository_policy" {
selection = {
tagStatus = "tagged"
tagPrefixList = ["prod", "main", "dev"]
countType = "imageCountMoreThan"
countNumber = 9999
}
action = {
type = "retain"