Skip to content

Commit 63940bc

Browse files
committed
[PRM-802] Add bulk upload metadata processor to include size condition for expedite objects
Signed-off-by: NogaNHS <127490765+NogaNHS@users.noreply.github.com>
1 parent 2506d07 commit 63940bc

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

infrastructure/lambda-bulk-upload-metadata-processor.tf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,8 @@ resource "aws_cloudwatch_event_rule" "bulk_upload_metadata_processor_lambda_expe
9696
"name" : [module.ndr-bulk-staging-store.bucket_id]
9797
},
9898
"object" : {
99-
"key" : [{
100-
"prefix" : "expedite/"
101-
}]
99+
"key" : [{ "prefix" : "expedite/" }],
100+
"size" : [{ "numeric" : [">", 0] }]
102101
}
103102
}
104103
})

0 commit comments

Comments
 (0)