We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fff88b9 commit e62b9aeCopy full SHA for e62b9ae
infrastructure/lambda-delete-doc-object.tf
@@ -95,7 +95,11 @@ resource "aws_lambda_event_source_mapping" "lloyd_george_dynamodb_stream" {
95
pattern = jsonencode({
96
"eventName" : [
97
"REMOVE"
98
- ]
+ ],
99
+ userIdentity = {
100
+ type = ["Service"],
101
+ principalId = ["dynamodb.amazonaws.com"]
102
+ }
103
})
104
}
105
@@ -112,7 +116,11 @@ resource "aws_lambda_event_source_mapping" "document_reference_dynamodb_stream"
112
116
113
117
114
118
115
119
120
121
122
123
124
125
126
0 commit comments