diff --git a/README.md b/README.md index 9d66f9f..7e661b5 100644 --- a/README.md +++ b/README.md @@ -50,23 +50,6 @@ module "public_ecr" { repository_type = "public" repository_read_write_access_arns = ["arn:aws:iam::012345678901:role/terraform"] - repository_lifecycle_policy = jsonencode({ - rules = [ - { - rulePriority = 1, - description = "Keep last 30 images", - selection = { - tagStatus = "tagged", - tagPrefixList = ["v"], - countType = "imageCountMoreThan", - countNumber = 30 - }, - action = { - type = "expire" - } - } - ] - }) public_repository_catalog_data = { description = "Docker container for some things" diff --git a/examples/complete/main.tf b/examples/complete/main.tf index 96a4bb4..c50fb0f 100644 --- a/examples/complete/main.tf +++ b/examples/complete/main.tf @@ -64,23 +64,6 @@ module "public_ecr" { repository_type = "public" repository_read_write_access_arns = [data.aws_caller_identity.current.arn] - repository_lifecycle_policy = jsonencode({ - rules = [ - { - rulePriority = 1, - description = "Keep last 30 images", - selection = { - tagStatus = "tagged", - tagPrefixList = ["v"], - countType = "imageCountMoreThan", - countNumber = 30 - }, - action = { - type = "expire" - } - } - ] - }) public_repository_catalog_data = { description = "Docker container for some things"