“Uploading a new file will override these libraries” message when I upload a zip file to Lambda

前端 未结 2 1697
無奈伤痛
無奈伤痛 2021-01-20 04:18

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 l

相关标签:
2条回答
  • 2021-01-20 04:50

    If your script has node modules installed from npm, this just means that uploading will overwrite those node modules with whatever is in your new zip file.

    It's only telling you whatever you had before will be overwritten.

    0 讨论(0)
  • 2021-01-20 05:02

    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

    0 讨论(0)
提交回复
热议问题