I use nodejs s3 package “aws-sdk” It works fine when I use serverless-offline run on my mac. The s3.getSignedUrl and s3.listObjects function both work fine.
I’m trying to invoke a lambda function from node.
I am getting an error when calling to
assume role method of STS. It says that the user is not authorized to perform
sts:AsumeRole on resource