From 064d6ec3c930f2ba0fd0ea8ceff2c181efa0514f Mon Sep 17 00:00:00 2001 From: Volodymyr Zahorniak Date: Tue, 28 May 2024 16:38:34 +0300 Subject: [PATCH] update docs and example --- README.md | 17 ----------------- examples/complete/main.tf | 17 ----------------- 2 files changed, 34 deletions(-) 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"