Skip to content

Commit

Permalink
feat: updated get single thread lambda role to all access to db (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonNotJson authored May 17, 2023
1 parent ddc81ea commit 4582b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/constructs/common/lambda-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4582b13

Please sign in to comment.