How do you package up a visual studio aws serverless project?

青春壹個敷衍的年華 提交于 2019-12-04 12:45:00

Looks like this is possible by packaging up the lambda function into a zip file with the dotnet lambda package command and then copying across the serverless.template file to be used later.

dotnet lambda package

Once we've got our *.zip and our serverless.template handy we can then run the dotnet lambda deploy-serverless with the following arguments:

dotnet lambda deploy-serverless --package .\drop\MyApp.zip --template .\drop\serverless.template
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!