“上传新文件将覆盖这些库"将zip文件上传到Lambda时出现的提示信息 [英] "Uploading a new file will override these libraries" message when I upload a zip file to Lambda

查看:94
本文介绍了“上传新文件将覆盖这些库"将zip文件上传到Lambda时出现的提示信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过将zip文件上传到AWS Lambda来测试脚本.

I am testing a script by uploading a zip file on-to AWS Lambda.

此函数包含外部库.上载新文件将覆盖这些库.

This function contains external libraries. Uploading a new file will override these libraries.

我阅读了创建部署程序包(Node.js)文档,但我无法正确理解.

I read the Creating a Deployment Package (Node.js) documentation, but I am not able to get a proper understanding.

我想念什么?

推荐答案

如果您可以通过AWS Lambda控制台内联编辑功能代码,则意味着如果您编辑单个文件(index.js或handler.js),用那个文件覆盖并替换整个功能.但是如果您上传了zip文件,应该没问题

If you can edit your function code inline through the AWS Lambda console, it means that if you edit that single file (index.js or handler.js) will overwrite and replace the entire function with that one file. but if you upload the zip, there should be no problem

这篇关于“上传新文件将覆盖这些库"将zip文件上传到Lambda时出现的提示信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆