Skip to content

Doesn't support new Docker image syntax #227

Open
@smcelhinney

Description

@smcelhinney

As per https://www.serverless.com/blog/container-support-for-lambda, you can now use the image property in function instead of a handler.

Error

  Type Error ---------------------------------------------
 
  TypeError: Cannot read property 'split' of undefined

is thrown at https://github.com/prisma-labs/serverless-plugin-typescript/blob/master/src/typescript.ts#L51 because it expects a handler property to be defined.

Required if you have (like I do) a mix of typescript handlers and Docker images in the same application.

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