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" {
50
50
repository_type = "public"
51
51
52
52
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
- })
70
53
71
54
public_repository_catalog_data = {
72
55
description = "Docker container for some things"
Original file line number Diff line number Diff line change @@ -64,23 +64,6 @@ module "public_ecr" {
64
64
repository_type = " public"
65
65
66
66
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
- })
84
67
85
68
public_repository_catalog_data = {
86
69
description = " Docker container for some things"
You can’t perform that action at this time.
0 commit comments