I'm converting a legacy Serverless Framework app written in Python to SST. Things are going fairly smoothly, but my deployed lambdas are large (30+MB) due to bundled dependencies. I've successfully created lambda layers for some of the larger dependencies (psycopg2), but don't understand how to prevent them from being bundled with the deployed lambda. Any tips for how this can be achieved?
f
Frank
01/25/2022, 8:38 PM
Hey @Seth Geoghegan, this is the docker image that bundles the lambda functions. And you can override the install commands by configuring the