I am calling lambda function from home automation skill set.
When i test my lambda function using Test button, all expected logs are written in cloudwatch, but in real scenerio, there are no logs on cloudwatch. Can someone suggest why?
I am calling lambda function from home automation skill set.
When i test my lambda function using Test button, all expected logs are written in cloudwatch, but in real scenerio, there are no logs on cloudwatch. Can someone suggest why?
I had the problems that some of my Lambda functions weren't logging anymore. Make sure that the role you are using has permissions to write to cloudwatch. You could add CloudWatchLogsFullAccess policy or a more fine grained policy.
The policies that are generated on the fly are usually limited to a specific stream. If you invoke a different lambda it will have a different stream name so the permissions could mismatch.