Skip to content

There is no option to pin specific version of serverless #84

Description

@santhosh-vikraman

Please add provision to support specific version

Activity

  1. ryanlawson commented on May 17, 2024

    @ryanlawson

    Created PR #90 to address this.

  2. thrichardson-twist commented on Sep 18, 2024

    @thrichardson-twist

    I am seriously giving up on serverless unless there is a way to pin it. My rust builds are failing and there is no error message at all. All I can say for sure is the serverless version changed. But I can't roll back and test.

  3. garethmcc commented on Sep 19, 2024

    @garethmcc

    There is a way to do this. For Serverless Framework Version 4 you can add the frameworkVersion property to your serverless.yml with a specific version. More details can be found here: https://www.serverless.com/framework/docs/providers/aws/guide/services#version-pinning

  4. thrichardson-twist commented on Sep 19, 2024

    @thrichardson-twist

    I did find a way, not sure if that's what you link points to: npm install -g serverless@4.1.22. It turns out my issue was related to the lambda instance memory limit and I was getting OOM. Strangely, downgrading rust by one version seems to have fixed it. So I take back what I said in this thread. :)

    Long day of debugging...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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