A development team created and deployed a new AWS Lambda function 15 minutes ago. Although the function was invoked many times, Amazon CloudWatch Logs are not showing any log messages.
What is one cause of this?
A development team created and deployed a new AWS Lambda function 15 minutes ago. Although the function was invoked many times, Amazon CloudWatch Logs are not showing any log messages.
What is one cause of this?
The most likely cause for the absence of log messages in Amazon CloudWatch Logs is that the Lambda function's role does not include permissions to create CloudWatch Logs items. Without the appropriate permissions, the Lambda function cannot generate or store logs in CloudWatch. This is a common issue when setting up new Lambda functions and their respective IAM roles.
When the Lambda function's execution role doesn't have the necessary permissions to create log streams or log groups in CloudWatch Logs, the logs won't be generated or stored.
Answer is B
Sure is B.
Likely the Lambda function's role does not include permissions to create CloudWatch Logs items.