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 11repos :
22 - repo : https://github.com/antonbabenko/pre-commit-terraform
3- rev : v1.96.1
3+ rev : v1.96.2
44 hooks :
55 - id : terraform_fmt
66 - 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" {
117117 }
118118 }
119119
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-
141120 dynamic "statement" {
142121 for_each = var. repository_policy_statements
143122
You can’t perform that action at this time.
0 commit comments