https://serverless-stack.com/ logo
#random
Title
# random
r

Ross Coundon

10/01/2021, 8:45 AM
For someone who knows next to nothing about hardware, can someone explain when (assuming CDK and/or SST support it) I should consider changing my lambdas to the new ARM architecture? I realise that lambdas with binaries, like sharp, won't be able to use it, but otherwise, is it a no-brainer to move? If not, what are the considerations?
o

Omi Chowdhury

10/01/2021, 11:06 AM
Also is there quick way of identifying whether my dependency tree contains binaries? Other than inspecting the yarn log?
t

thdxr

10/01/2021, 12:13 PM
Yes it's a no brainer, all upside
And I don't think there's a way to tell but esbuild would fail to bundle any library that has a binary
So of you aren't using any externals with esbuild you're probably fine
r

Ross Coundon

10/03/2021, 6:55 AM
Cool, thanks - so is it a case of waiting until SST is upgraded to support latest CDK?
t

thdxr

10/03/2021, 1:19 PM
Yeah
f

Frank

10/04/2021, 5:07 AM
Updated CDK to 1.125.0 in v0.45.0