Do you know if it is the size of the Lambda with l...
# help
ö
Do you know if it is the size of the Lambda with layers included, or just lambda itself?
m
Excluding layer afaik
r
Yeah, without layer
ö
I see
Anywhere I can see the total size on Console? Or shall I use the aws cli:
aws lambda get-function  --function-name  myFuncName
r
Not sure, why do you need to know?
ö
Just recently it is told that we cant add package bc we hit the 250 mb limit
lol
so I wanna see if thats true
Would be a nice feature in SST actually 😛
r
I see, 250Mb is the total layer limit
you could package and zip locally to get a good idea
You can use
Copy code
aws lambda get-layer-version-by-arn
and that'll give you the code size
ö
As far as I understand 250 MB is the total for both layers and lambda combined
f
Yup, it is. You can use the command @Ross Coundon suggested above to get the layer info with a download link. You can unzip it and find out the layer size.
ö
Doesn’t seem very practical 😄
f
lol i didn’t mean unzipping and packaging with ur Lambda. Just to find out the size. The 250MB limit is for unzipped Lambda code plus unzipped layer code.