无服务器部署问题

serverless deployment issue

我已经使用无服务器离线创建了我的应用程序。它工作正常。但是当我要在 aws 上部署时,它会给我如下错误。

The CloudFormation template is invalid: Template format error: Number of resources, 216, is greater than maximum allowed, 200

我会研究很多并找到以下建议

  1. 使用微服务
  2. 嵌套堆栈

但是我不知道如何在现有项目上使用它。

不幸的是,这是 CloudFormation 的限制。一个可能的解决方案是将您的大型服务拆分为多个较小的服务。

更自动你应该看看这个plugin

更多详情请关注link