File tree Expand file tree Collapse file tree 2 files changed +0
-34
lines changed Expand file tree Collapse file tree 2 files changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -50,23 +50,6 @@ module "public_ecr" {
5050 repository_type = "public"
5151
5252 repository_read_write_access_arns = ["arn:aws:iam::012345678901:role/terraform"]
53- repository_lifecycle_policy = jsonencode({
54- rules = [
55- {
56- rulePriority = 1,
57- description = "Keep last 30 images",
58- selection = {
59- tagStatus = "tagged",
60- tagPrefixList = ["v"],
61- countType = "imageCountMoreThan",
62- countNumber = 30
63- },
64- action = {
65- type = "expire"
66- }
67- }
68- ]
69- })
7053
7154 public_repository_catalog_data = {
7255 description = "Docker container for some things"
Original file line number Diff line number Diff line change @@ -64,23 +64,6 @@ module "public_ecr" {
6464 repository_type = " public"
6565
6666 repository_read_write_access_arns = [data . aws_caller_identity . current . arn ]
67- repository_lifecycle_policy = jsonencode ({
68- rules = [
69- {
70- rulePriority = 1 ,
71- description = " Keep last 30 images" ,
72- selection = {
73- tagStatus = " tagged" ,
74- tagPrefixList = [" v" ],
75- countType = " imageCountMoreThan" ,
76- countNumber = 30
77- },
78- action = {
79- type = " expire"
80- }
81- }
82- ]
83- })
8467
8568 public_repository_catalog_data = {
8669 description = " Docker container for some things"
You can’t perform that action at this time.
0 commit comments