Skip to content
This repository was archived by the owner on Dec 30, 2024. It is now read-only.
This repository was archived by the owner on Dec 30, 2024. It is now read-only.

Events lambda error #409

@sreevamsiy

Description

@sreevamsiy

Describe the bug
Events module lambda is failing with a runtime error
To Reproduce
Steps to reproduce the behavior:

  1. Go to lambda console
  2. Create a test event with following sample payload

{ "version": "0", "id": "faff4b2f-4ec9-53b6-ecd0-a53370b1c088", "detail-type": "MediaLive Channel Alert", "source": "aws.medialive", "account": "123456789012", "time": "1970-01-01T00:00:00Z", "region": "us-east-1", "resources": ["arn:aws:medialive:us-east-1:123456789012:channel:123456"], "detail": { "alert_type": "Stopped Receiving UDP Input", "alarm_state": "set", "message": "Stopped receiving network data on [rtp://:5000]", "pipeline": "1" } }

  1. Click test and it's giving the following error

{ "errorMessage": "Unable to import module 'media_events': No module named 'media_events'", "errorType": "Runtime.ImportModuleError", "requestId": "2884cf68-be30-4721-a741-388c4e96c024", "stackTrace": [] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions