aws lambda function getting access denied when getObject from s3

后端 未结 12 1603
离开以前
离开以前 2020-12-08 06:44

I am getting an acccess denied error from S3 AWS service on my Lambda function.

This is the code:

// dependencies
var async = require(\'async\');
var         


        
12条回答
  •  甜味超标
    2020-12-08 07:21

    I too ran into this issue, I fixed this by providing s3:GetObject* in the ACL as it is attempting to obtain a version of that object.

提交回复
热议问题