Skip to content

Commit

Permalink
fix: changed already existing db role name (#231)
Browse files Browse the repository at this point in the history
* feat: updated api get schema and renamed database

* fix: fix lambda function

* fix: fixed lambda get single thread and others

* fix: fix already existing db role
  • Loading branch information
JasonNotJson authored Dec 30, 2022
1 parent 6620d99 commit 293cc06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/constructs/common/lambda-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ export class ForumThreadFunctions extends Construct {
description:
'Allow lambda function to perform crud operation on dynamodb',
path: `/service-role/${AwsServicePrincipal.LAMBDA}/`,
roleName: 'dynamodb-lambda-read',
roleName: 'dynamodb-lambda-read-thread',
managedPolicies: [
iam.ManagedPolicy.fromManagedPolicyArn(
this,
Expand All @@ -524,7 +524,7 @@ export class ForumThreadFunctions extends Construct {
description:
'Allow lambda function to perform crud operation on dynamodb',
path: `/service-role/${AwsServicePrincipal.LAMBDA}/`,
roleName: 'dynamodb-lambda-write',
roleName: 'dynamodb-lambda-write-thread',
managedPolicies: [
iam.ManagedPolicy.fromManagedPolicyArn(
this,
Expand Down

0 comments on commit 293cc06

Please sign in to comment.