Skip to content

Emulate Development with lambda runtime interface emulator #19

Closed
@jpaulolins

Description

@jpaulolins

Hi Guys,

I'm trying to emulate lambda in a local development environment using lambda runtime interface emulator[1]. When making the invocation to lambda runtime, the adapter attempts to find something on /var/task instead of passing the event request to my HTTP daemon running at the same container.

I tried to create /var/task/ into the container. After that, the adapter tried to find a bootstrap script without success.

I started my daemon and runtime emulator using bash script in the ENTRYPOINT container.

Any idea how I can use lambda runtime to test lambda in a development environment without deployment?

Regards.

[1] - https://github.com/aws/aws-lambda-runtime-interface-emulator

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions