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.