![AWS CloudWatch log Lambda console logs](/_gatsby/image/f332bfe3f5f43449f852c2b98b1a33c2/3dd144d60023633bf185f79700afbdf6/amazon_web_services.jpg?u=http%3A%2F%2Fwp.docker.localhost%3A8000%2Fwp-content%2Fuploads%2F2017%2F08%2Famazon_web_services.jpg&a=w%3D196%26h%3D96%26fm%3Djpg%26q%3D75&cd=848b81074fc2b898066a139714b9b786)
AWS CloudWatch log Lambda console logs
7 years ago, August 16, 2017
Reading time: 1 mins
Hi there,
I was trying out AWS for couple of days and wrapping my head around Lambda and CloudWatch. I was not able to see the logs from my Lambda function in Cloudwatch. I looked for the solutions online and in AWS docs but could not find anything helpful but later discovered that I forgot to add role in the configuration of Lambda function.
Adding role “lambda_basic_execution” there fixes this problem.
Nowhere could I see any error or even warning that I am missing a permission but it just doesnt work. There is a link to Cloudwatch log but you can’t see the logs there. You will see error message and suggesting you to try refreshing the page. But it doesnt help.