When I run
‘sls deploy’
my package file (which is about 72mb) gets uploaded to s3 (Uploading service .zip file to S3 (72 MB)…) vs when I run
‘sls deploy -f function-name’
I get the follow error because the package is too big. I see this error message:
Request must be smaller than 69905067 bytes for the UpdateFunctionCode operation
any help would be extremely appreciated. Does specifying the function to deploy somehow circumvent the s3 upload process? why the diff between “Uploading function: function-name” vs “Uploading service .zip file to S3 (72 MB)”
Thanks