Skip to content

Commit

Permalink
NOBUG: Update db role. (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
marklise authored Oct 30, 2023
1 parent fb55174 commit b029f39
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion terraform/src/roles.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ resource "aws_iam_role_policy" "databaseReadRolePolicy" {
"dynamodb:Update*",
"dynamodb:PutItem"
],
"Resource": "${aws_dynamodb_table.ar_table.arn}"
"Resource": [
"${aws_dynamodb_table.ar_table_name_cache.arn}/*",
"${aws_dynamodb_table.ar_table.arn}/*"
]
},
{
"Effect": "Allow",
Expand Down

0 comments on commit b029f39

Please sign in to comment.