From 8c1dc539ec4ad916cc101f7d6188f816586e32d1 Mon Sep 17 00:00:00 2001 From: Yoshizawa Date: Thu, 18 Jan 2024 16:48:59 +0900 Subject: [PATCH] change snsPublisher Lambda, add a new line to email --- source/lambda/services/snsPublisher/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lambda/services/snsPublisher/index.ts b/source/lambda/services/snsPublisher/index.ts index 9044aef..27dd274 100644 --- a/source/lambda/services/snsPublisher/index.ts +++ b/source/lambda/services/snsPublisher/index.ts @@ -13,7 +13,7 @@ import { SNSPublisher } from "./lib/sns-publish"; const moduleName = __filename.split("/").pop(); export const handler = async (event: any) => { - const eventText = JSON.stringify(event); + const eventText = JSON.stringify(event, null, 2); logger.debug(`Received event: ${eventText}`); const ssm = new SSMHelper(); const ssmNotificationMutingConfigParamName = (