Description of changes:
Added additional resource 'arn:aws:logs:::log-group:/aws/lambda/*' to the policy document.
Explanation
Because lambda functions log to cloudwatch logs, the LambdaRole needs to be able to create the log group for that so needs CreateLogGroup access for resounce '/aws/lambda/*'. Without this the lambda console function monitoring page reports an error as the log group for monitoring executions won't exist.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description of changes: Added additional resource 'arn:aws:logs:::log-group:/aws/lambda/*' to the policy document.
Explanation Because lambda functions log to cloudwatch logs, the LambdaRole needs to be able to create the log group for that so needs CreateLogGroup access for resounce '/aws/lambda/*'. Without this the lambda console function monitoring page reports an error as the log group for monitoring executions won't exist.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.