aws-lambda - 使用 Cloudformation 部署 lambda 时的问题
问题描述
我像这样使用 cloudformation 部署了我的 lambda 函数。
aws cloudformation package \
--template-file template.yaml \
--output-template-file serverless-output.yaml \
--s3-bucket <bucket-name>
aws cloudformation deploy \
--template-file serverless-output.yaml \
--stack-name prod \
--capabilities CAPABILITY_IAM
但服务器不工作并给出Internal Server Error
. 所以我尝试使用sls deploy
命令部署 lambda,它对我来说确实很好。我不确定为什么会这样。你有什么建议吗?我希望你的善意回应。谢谢你。
解决方案
推荐阅读
- c# - 在gridview C#上操作文本框
- python - 从数组输出中删除单引号
- java - Spark GraphX 的 DFS 性能与简单的 Java DFS 实现
- c# - 带有动态附加输入的 ASP.NET MVC 服务器端验证
- python - 使用 python 的键盘记录器
- javascript - JqxCombo 值未从 ajax 结果设置 - Vue.js
- python - 如何在pygame,python上绘制精灵?
- graphql - GraphQL 方案委托:未定义 info.mergeInfo
- c++ - 无法从 mmod 人脸检测器获取 dlib 矩形坐标
- jdbc - 不支持 Storm 简单 jdbc 映射器将数组写入 phoenix db?