Closed cmcnicholas closed 3 months ago
Is that incompatible at the moment? Do you get any error?
Is that incompatible at the moment? Do you get any error?
Just the version dependency currently.
"serverless": "^3.28.0",
Understood, we can definitely relax that 👍 Before doing so, it would be great to get confirmation that it works fine :)
FWIW our intention is to support the Lift plugin in Serverless Framework V.4, as always. We've done some testing recently and discovered a bug. We're working on a fix now and tracking it here: https://github.com/serverless/serverless/issues/12571
For anyone looking for a work-around for this, pinning serverless to the latest v3 gets around this issue for the moment, but not ideal.
Lift should work seamlessly with V.4 now as of this release. We are continuing to test and monitor everything. Please let us know if you see further issues.
I just started using lift with serverless and struggling with npm dependencies and layers. I use following v4 config:
build:
esbuild:
bundle: true
minify: false
target: node20
packages: external
constructs:
drawing-queue:
type: queue
worker:
handler: src/drawing/worker.handler
layers:
- arn:aws:lambda:xxx:layer:chromiumLayer:3
- arn:aws:lambda:xxx:layer:sharpLayer:2
I bump into the issue that defined layers of construct fields of the yaml not work as expected, also the npm dependencies seem not to work or doesnt seemp to be bundled as the other functions. Am I missing something?
Just to make sure: the dependencies and layers work in the function calls, but I want to make the switch to queue as some tasks are running too long.
hey guys, any updates on it? it's still impossible to npm install lift with serverless v4
https://github.com/serverless/serverless/issues/12571 still mentions issues, can anyone confirm whether Lift works with v4?
Also PRs are welcome.
@Vakintoshka Can you elaborate on the install issue you are seeing? If you are seeing the error with a serverless command, can you run serverless support --github
and share the output.
@mnapoli Hi 👋 , long time! Yes, Serverless Framework v4 works with Lift. I'm confirming this based on analytics and testing. Having said that, there may still be some issues, like the one mentioned in the issue you linked, and the install issue @Vakintoshka mentioned. I'm trying to get the repro steps so we can fix them.
Hey @skierkowski! Thanks for the follow-up, I've merged a PR that allows installing lift with v4 👍
Start from the Use-case
Serverless v4 is here. https://github.com/serverless/serverless/releases/tag/v4.0.26
Example Config
No response
Implementation Idea
No response