- 最新
- 最多得票
- 最多評論
I am not sure why it happened to you and now it works. Could it be that the zip file is large? If the file is larger than 50MB it must be uploaded to S3 first and then update the function code from there. I would recommend using SAM to deploy. It will package the code and upload it to S3 on your behalf.
I'm seeing more or less the same thing. I'm using the web console, trying to upload a 3.6MB .zip, and the UI times out repeatedly. This is an existing project and I've done this successfully many times before with a slightly smaller .zip (3MB - 3.2MB), but it's been 11 days since my last upload.
CLI:
% aws lambda update-function-code --function-name <function name> --zip-file fileb://<.zip path>
Connection was closed before we received a valid response from endpoint URL: "https://lambda.us-east-2.amazonaws.com/2015-03-31/functions/<function name>/code".
Is there an outage going on?
us-east-2
macOS Monterey 12.2.1
Chrome Version 110.0.5481.100 (Official Build) (x86_64)
Tested upload speed 4.7mbps
相關內容
- 已提問 1 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 10 個月前
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前