问题描述
我像这样使用 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,它对我来说效果很好。
我不知道为什么会这样。
你有什么建议吗?
我希望你的善意回应。
谢谢。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)