Skip to content

Commit

Permalink
Merge pull request #1439 from alphagov/GOVUKAPP-577-permissions
Browse files Browse the repository at this point in the history
s3 sync operation requires s3:ListBucket permission
  • Loading branch information
gclssvglx authored Aug 29, 2024
2 parents 3ab2d7f + bff09eb commit 9504e9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terraform/deployments/mobile-backend/gha-iam-role.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ resource "aws_iam_role_policy" "config_signing" {
data "aws_iam_policy_document" "bucket_write_role_permissions" {
statement {
actions = [
"s3:PutObject"
"s3:PutObject",
"s3:ListBucket"
]
resources = [aws_s3_bucket.mobile_backend_remote_config.arn]
}
Expand Down

0 comments on commit 9504e9a

Please sign in to comment.