Skip to content

Zipfile is too big for deploy function #2494

@yeehaa123

Description

@yeehaa123

This is a (Bug Report / Feature Proposal)

Description

For bug reports:

  • What went wrong?
  • What did you expect should have happened?
  • What was the config you used?
  • What stacktrace or error message from your provider did you see?

When I try to deploy my function (in a rather large project), I can no longer do this invidually. Instead I get the following error

Request must be smaller than 69905067 bytes for the UpdateFunctionCode operation 

When I deploy the entire project, I don't get any errors.

Looking into this, I noticed that the zip for the function is just as large as the zip for the entire project. This seems strange to me.

     OS:                 linux                                                                                                          │
     Node Version:       6.8.0                                                                                                          │
     Serverless Version: 1.0.2                                                                                                          │

For feature proposals:

  • What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us.
  • If there is additional config how would it look

Similar or dependent issues:

Additional Data

  • _Serverless Framework Version you're using_:
  • _Operating System_:
  • _Stack Trace_:
  • _Provider Error messages_:

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