From f6dc7992c7586c060200bc6fc5d9fb3caf9da14d Mon Sep 17 00:00:00 2001 From: Jason Park Date: Mon, 8 May 2023 20:19:39 +0900 Subject: [PATCH] feat: updated get single thread lambda role to all access to db --- lib/constructs/common/lambda-functions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/constructs/common/lambda-functions.ts b/lib/constructs/common/lambda-functions.ts index 6190515b6..403eebd93 100644 --- a/lib/constructs/common/lambda-functions.ts +++ b/lib/constructs/common/lambda-functions.ts @@ -584,7 +584,7 @@ export class ForumThreadFunctions extends Construct { functionName: 'get-single-thread', logRetention: logs.RetentionDays.ONE_MONTH, memorySize: 128, - role: dynamoDBReadRole, + role: dynamoDBPutRole, runtime: lambda.Runtime.PYTHON_3_9, timeout: Duration.seconds(3), environment: props.envVars,