diff --git a/terraform/environments/analytical-platform-ingestion/iam-policies.tf b/terraform/environments/analytical-platform-ingestion/iam-policies.tf index a4880257c7f..240c7d9f89b 100644 --- a/terraform/environments/analytical-platform-ingestion/iam-policies.tf +++ b/terraform/environments/analytical-platform-ingestion/iam-policies.tf @@ -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 {