Skip to content

Commit

Permalink
🔧 Edit permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary-H9 committed Apr 2, 2024
1 parent 29de7e8 commit c74216f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/environments/analytical-platform-ingestion/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ data "aws_iam_policy_document" "quarantine_bucket_policy" {
effect = "Deny"
not_principals {
type = "AWS"
identifiers = ["arn:aws:iam::${local.environment}:role/scan"]
identifiers = ["arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/scan"]
}
actions = ["*"]
resources = ["arn:aws:s3:::mojap-ingestion-${local.environment}-quarantine"]
Expand Down

0 comments on commit c74216f

Please sign in to comment.