Skip to content

Commit 9fc8238

Browse files
committed
add sopport to listObjects
1 parent 1cf1181 commit 9fc8238

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/deploy/stepFunctions/compileIamRole.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,11 +595,11 @@ function getS3ObjectPermissions(action, state) {
595595
's3:Describe*',
596596
's3-object-lambda:Get*',
597597
's3-object-lambda:List*'
598-
],
598+
];
599599
resource = [
600600
`arn:aws:s3:::${bucket}`,
601601
`arn:aws:s3:::${bucket}/*`
602-
],
602+
];
603603
} else if (bucket === '*' && key === '*') {
604604
resource = '*';
605605
} else if (prefix & key) {

0 commit comments

Comments
 (0)