Skip to content

Commit 346deab

Browse files
committed
Fix permissions
1 parent 9bea46c commit 346deab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

infrastructure/terraform/components/api/module_lambda_get_status.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ data "aws_iam_policy_document" "get_status_lambda" {
7171

7272

7373
statement {
74-
sid = "S3ListBuckets"
75-
actions = ["s3:ListBuckets"]
74+
sid = "S3ListAllMyBuckets"
75+
actions = ["s3:ListAllMyBuckets"]
7676
resources = ["${module.s3bucket_test_letters.arn}/*"]
7777
}
7878
}

0 commit comments

Comments
 (0)