I am using AWS Lambda and serverless framework to build a service which uses S3 to store a file. The lambda function (“hello”) works perfectly when deployed to the cloud (it has an http endpoint, I invoke it from the browser). On the contrary, when invoked locally (serverless invoke local –function hello) I get “access denied” error: This is my