Skip to content

Commit

Permalink
update lcp
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jul 4, 2024
1 parent 4826eb7 commit 711e8b1
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions copy_images.tf
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,4 @@ module "images" {

enable_lifecycle_policy = true
lifecycle_policy_all = true

data "aws_ecr_lifecycle_policy_document" "pushed" {
rule {
priority = 1
description = "keep images tagged test, last push 28 days ago"

selection {
tag_status = "tagged"
# tag_pattern_list = ["*test*"]
count_type = "sinceImagePushed"
count_number = 28
count_unit = days
}
}
}
}

0 comments on commit 711e8b1

Please sign in to comment.