aws-solutions / video-on-demand-on-aws-foundation

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.
Apache License 2.0
126 stars 78 forks source link

JobComplete lambda cannot logs:PutEvents #29

Open cm-dk opened 1 year ago

cm-dk commented 1 year ago

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:

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.

raulmlamzn commented 1 year ago

Thanks for you feedback. We have added this request to the backlog for this solution.