Skip to content

Commit

Permalink
Update resource, was missing slash star
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Woffenden <jacob.woffenden@justice.gov.uk>
  • Loading branch information
jacobwoffenden committed Nov 13, 2024
1 parent 2ae4d0f commit 5a5ff45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ data "aws_iam_policy_document" "datasync_replication" {
"s3:ReplicateDelete"
]
resources = [
for item in local.environment_configuration.datasync_target_buckets : "arn:aws:s3:::${item}"
for item in local.environment_configuration.datasync_target_buckets : "arn:aws:s3:::${item}/*"
]
}
statement {
Expand Down

0 comments on commit 5a5ff45

Please sign in to comment.