File tree Expand file tree Collapse file tree 2 files changed +1
-22
lines changed
modules/repository-template Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/antonbabenko/pre-commit-terraform
3
- rev : v1.96.1
3
+ rev : v1.96.2
4
4
hooks :
5
5
- id : terraform_fmt
6
6
- id : terraform_wrapper_module_for_each
Original file line number Diff line number Diff line change @@ -117,27 +117,6 @@ data "aws_iam_policy_document" "repository" {
117
117
}
118
118
}
119
119
120
- dynamic "statement" {
121
- for_each = length (var. repository_read_write_access_arns ) > 0 ? [var . repository_read_write_access_arns ] : []
122
-
123
- content {
124
- sid = " ReadWrite"
125
-
126
- principals {
127
- type = " AWS"
128
- identifiers = statement. value
129
- }
130
-
131
- actions = [
132
- " ecr-public:BatchCheckLayerAvailability" ,
133
- " ecr-public:CompleteLayerUpload" ,
134
- " ecr-public:InitiateLayerUpload" ,
135
- " ecr-public:PutImage" ,
136
- " ecr-public:UploadLayerPart" ,
137
- ]
138
- }
139
- }
140
-
141
120
dynamic "statement" {
142
121
for_each = var. repository_policy_statements
143
122
You can’t perform that action at this time.
0 commit comments