We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7743c56 commit 3087304Copy full SHA for 3087304
lib/deploy/stepFunctions/compileIamRole.js
@@ -741,7 +741,7 @@ function getIamPermissions(taskStates) {
741
return getS3ObjectPermissions('s3:PutObject', state);
742
case 'arn:aws:states:::s3:listObjectsV2':
743
case 'arn:aws:states:::aws-sdk:s3:listObjectsV2':
744
- return getS3ObjectPermissions('s3:listObjectsV2', state);
+ return getS3ObjectPermissions('s3:AmazonS3ReadOnlyAccess', state);
745
746
default:
747
if (isIntrinsic(state.Resource) || !!state.Resource.match(/arn:aws(-[a-z]+)*:lambda/)) {
0 commit comments