Skip to content

Commit 0cadc63

Browse files
CCM-9872: Fix permissions
1 parent a00a253 commit 0cadc63

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

infrastructure/terraform/modules/backend-api/module_lambda_process_proof.tf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,18 @@ data "aws_iam_policy_document" "process_proof" {
114114

115115
resources = ["${module.s3bucket_internal.arn}/*"]
116116
}
117+
118+
statement {
119+
sid = "AllowS3DownloadWrite"
120+
effect = "Allow"
121+
122+
actions = [
123+
"s3:PutObject",
124+
"s3:PutObjectVersion",
125+
"s3:PutObjectTagging",
126+
"s3:PutObjectVersionTagging",
127+
]
128+
129+
resources = ["${module.s3bucket_download.arn}/*"]
130+
}
117131
}

0 commit comments

Comments
 (0)