Juniper:包lambda函数
Juniper是一种打包工具,用于流化和标准化一系列AWS Lambda函数的zip工件的创建。
生成的zip工件包括在给定的requirements.txt文件中定义的依赖项的源代码,以及该函数所依赖的任何共享库。 利用生成的工件,开发人员可以通过awscli或使用cloudformation / sam模板手动部署lambda函数。
快速开始
安装Python == 3.6并安装Docker时,安装瞻博网络:
> pip install juniper
为了用juniper打包lambda函数,您需要创建一个清单文件。
functions :
# Name the zip file you want juni to create
router :
# The dependencies of the router functio
评论0
最新资源