How to implement a video-on-demand workflow on AWS leveraging AWS Lambda, AWS Elemental MediaConvert, Amazon s3 and Amazon CloudWatch. Source code for Video on Demand on AWS Foundation solution.
Describe the bug
While the JobComplete Lambda does include several helpful console.log() calls, there are no logs in Cloudwatch.
To Reproduce
Upload video, wait for job to complete, look up logs in CloudWatch
Expected behavior
Lambda output is available in Cloudwatch
Please complete the following information about the solution:
[ ] Version: 1.3.0
[ ] Region: euc1
[ ] Was the solution modified from the version published on this repository? Yes: disabled AnonymizedUsage, removed emailAddress parameter & SNS subscription, added several CFn Outputs (i.e. nothing that should affect this issue)
[ ] If the answer to the previous question was yes, are the changes available on GitHub? No
[ ] Have you checked your service quotas for the sevices this solution uses? n/a
[ ] Were there any errors in the CloudWatch Logs? No 🙃
Screenshots
n/a
Additional context
The Lambda execution IAM Role does not include permission to logs:PutEvents (via AWSLambdaBasicExecutionRole or otherwise). Adding that permission fixes the issue.
Describe the bug While the
JobComplete
Lambda does include several helpfulconsole.log()
calls, there are no logs in Cloudwatch.To Reproduce Upload video, wait for job to complete, look up logs in CloudWatch
Expected behavior Lambda output is available in Cloudwatch
Please complete the following information about the solution:
AnonymizedUsage
, removedemailAddress
parameter & SNS subscription, added several CFnOutputs
(i.e. nothing that should affect this issue)Screenshots n/a
Additional context The Lambda execution IAM Role does not include permission to
logs:PutEvents
(via AWSLambdaBasicExecutionRole or otherwise). Adding that permission fixes the issue.