Skip to content

Commit 2d2d96d

Browse files
committed
Remove DDB stream
1 parent 9ffdd18 commit 2d2d96d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

infrastructure/terraform/components/api/ddb_table_letters.tf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
resource "aws_dynamodb_table" "letters" {
22
name = "${local.csi}-letters"
33
billing_mode = "PAY_PER_REQUEST"
4-
stream_enabled = true
5-
stream_view_type = "NEW_AND_OLD_IMAGES"
64

75
hash_key = "supplierId"
86
range_key = "id"

lambdas/letter-updates-transformer/src/letter-updates-transformer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function createHandler(deps: Deps): Handler<KinesisStreamEvent> {
3636
deps.logger.info({
3737
description: "Publishing batch",
3838
size: batch.length,
39-
entries: batch,
39+
letterEvents: batch,
4040
});
4141
await deps.snsClient.send(
4242
new PublishBatchCommand({

0 commit comments

Comments
 (0)