Skip to content

Commit 9a34daa

Browse files
CCM-9247: Fix build and permissions
1 parent 2bc22d6 commit 9a34daa

File tree

4 files changed

+150
-146
lines changed

4 files changed

+150
-146
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ data "aws_iam_policy_document" "sftp_poll" {
5353
]
5454

5555
resources = [
56-
aws_dynamodb_table.templates.arn,
56+
"${aws_dynamodb_table.templates.arn}/index/QueryById",
5757
]
5858
}
5959

infrastructure/terraform/modules/backend-api/spec.tmpl.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,10 @@
191191
"$ref": "#/components/schemas/FileDetails"
192192
},
193193
"proofs": {
194-
"items": {
194+
"additionalProperties": {
195195
"$ref": "#/components/schemas/FileDetails"
196196
},
197-
"type": "array"
197+
"type": "object"
198198
},
199199
"testDataCsv": {
200200
"$ref": "#/components/schemas/FileDetails"

0 commit comments

Comments
 (0)