Skip to content

Commit

Permalink
Fix customer permission boundary to fix dynamo
Browse files Browse the repository at this point in the history
  • Loading branch information
matusfaro committed Jan 6, 2025
1 parent d99bc0b commit dcfb285
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ public ControlFunctionStack(Construct parent, DeployEnvironment deployEnv, Strin
"dynamodb:BatchWriteItem",
"dynamodb:DeleteItem"))
.resources(ImmutableList.of(
"arn:aws:logs:" + getRegion() + ":" + getAccount() + ":table/" + LambdaDeployerImpl.FUN_NAME_WILDCARD_GETTER.apply(getDeployEnv()),
"arn:aws:logs:" + getRegion() + ":" + getAccount() + ":table/" + LambdaDeployerImpl.FUN_NAME_WILDCARD_GETTER.apply(getDeployEnv()) + "/index/*"))
"arn:aws:dynamodb:" + getRegion() + ":" + getAccount() + ":table/" + LambdaDeployerImpl.FUN_NAME_WILDCARD_GETTER.apply(getDeployEnv()),
"arn:aws:dynamodb:" + getRegion() + ":" + getAccount() + ":table/" + LambdaDeployerImpl.FUN_NAME_WILDCARD_GETTER.apply(getDeployEnv()) + "/index/*"))
.build(),
PolicyStatement.Builder.create()
.sid(getConstructIdCamelCase(LambdaDeployerImpl.CUSTOMER_FUNCTION_PERMISSION_CUSTOMER_LAMBDA_SQS + "PermissionBoundary"))
Expand Down

0 comments on commit dcfb285

Please sign in to comment.