-
Notifications
You must be signed in to change notification settings - Fork 34
Description
I have pulled your latest "modernize" branch, which you're trying to upgrade to the latest serverless-sharp, and a number of other tweaks.
I tried deploying, but stuck with some error messages in serverless.yml.
May I ask if this is still a WIP branch?
There are also a number of things I noticed:
-
serverless deprecates the usage of settings.yml, and promotes usage of env files. Would you considering going for the latter option? I can assist maybe if you're ok?
-
I see there is some Makefile and stuff. But the sharp layer for Lambda doesn't really require any building I think.
All I did on my end is:
- Add a package.json in the directory "\lambdaLayers\SharpLayer\nodejs" with dependency "sharp": "^0.30.6"
- Go to the directory, and type in the command
npm install --platform=linux --arch=x64 sharp - Then, all the linux x64 binaries will be there, and you just deploy over and it works for me.
Or did I miss anything here?
-
Switched over to use TS. Actually I have no experience on this part. Is it really better?
-
TLSv1 <-- still uses this protocol. AWS seems to already recommend 'TLSv1.2_2021'
=====
Btw, @Mosnar any communication tools you use? I think we can exchange contacts, it can make our communication easier, and also to make a new overseas friend ;-) If you're interested of course.