Skip to content

Commit

Permalink
fix: add lieux mediation numerique tables indexes as target ressource…
Browse files Browse the repository at this point in the history
…s in policy document
  • Loading branch information
marc-gavanier committed Oct 11, 2023
1 parent 28f253e commit 22672d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ data "aws_iam_policy_document" "lieux_inclusion_numerique_table_policy_document"
"dynamodb:UpdateItem",
"dynamodb:DeleteItem",
]
resources = [aws_dynamodb_table.lieux_inclusion_numerique_table.arn]
resources = [aws_dynamodb_table.lieux_inclusion_numerique_table.arn, "${aws_dynamodb_table.lieux_inclusion_numerique_table.arn}/index/*", ]
}
}

Expand Down

0 comments on commit 22672d0

Please sign in to comment.