Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

feat: Es hard delete #398

Merged
merged 1 commit into from
Aug 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ custom:
useHapiValidator: ${opt:useHapiValidator, 'false'}
enableMultiTenancy: ${opt:enableMultiTenancy, 'false'}
logLevel: ${opt:logLevel, 'error'}
enableESHardDelete: ${opt:enableESHardDelete, 'false'}
patientCompartmentFileV3: 'patientCompartmentSearchParams.3.0.2.json'
patientCompartmentFileV4: 'patientCompartmentSearchParams.4.0.1.json'
bundle:
Expand Down Expand Up @@ -116,6 +117,8 @@ functions:
description: 'Write DDB changes from `resource` table to ElasticSearch service'
role: DdbToEsLambdaRole
handler: ddbToEsLambda/index.handler
environment:
ENABLE_ES_HARD_DELETE: ${self:custom.enableESHardDelete}
events:
- stream:
type: dynamodb
Expand Down