Skip to content

sls deploy: Function not found #5185

@kogden

Description

@kogden

So everything was working fine until I tried to shrink the size of my functions (they were all around 8MB because of the node_modules package). I manually deleted them from the AWS Lambda terminal and now I can't seem to deploy any more.

Nothing has changed in the code itself I just get the error:
Serverless: Checking Stack update progress...
...............
Serverless: Operation failed!

An error occurred: UpdateLambdaFunction - Function not found: arn:aws:lambda:us-east-1:728832281197:function:serverless-nodejs-app-dev-update (Service: AWSLambda; Status Code: 404; Error Code: ResourceNotFoundException; Request ID: 1a23ce10-9689-11e8-ab22-418992b94479).

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