私は1つのラムダ関数を開発しています。これはPython 2.7で作成したResumeParserライブラリを使用しています。しかし、私は、それはエラー以下の私を投げAWS上のライブラリを含めて、この機能を展開するとき:AWSラムダエラー:解凍サイズは262144000バイトより小さくする必要があります
AWS Lambda Limit Errors
Functions that exceed any of the limits listed in the previous limits tables will fail with an exceeded limits exception. These limits are fixed and cannot be changed at this time. For example, if you receive the exception CodeStorageExceededException or an error message similar to "Code storage limit exceeded" from AWS Lambda, you need to reduce the size of your code storage.
あなたはあなたのパッケージのサイズを小さくする必要があります。
Unzipped size must be smaller than 262144000 bytes
私のケースでは、大きなバイナリはないと思います。インストールされているピップパッケージは、合計のジップサイズに追加されているものです。 もし私がpip(s3)を使ってインストールしようとしたら。プロジェクトをパッケージ化してもまだダウンロードされませんか? –
パッケージに含まれていない場合はAWSで拒否されず、pipを使用してインストールすることはOKです。 – Raf