amazon-web-services - “AWS::Include”的大小限制
问题描述
为了设置我们的API-Gateway
via cloudformation,我们使用Fn::transform
withAWS::include
将 open-api 规范加载到其中并通过 cloudformation 参数替换一些参数。然而,随着我们开发 api,我们遇到了 cloudformation 对我们的救助:
"ResourceStatusReason": "Embedded stack arn:aws:cloudformation:eu-west-1:...:stack/lZYW/UUID was not successfully updated.
Currently in UPDATE_ROLLBACK_IN_PROGRESS with reason:
Transform AWS::Include failed with: The specified S3 object is too big.",
在这种情况下,文件大小为 455kb,因此限制AWS::Include
似乎仍然是 450kb 限制。在其他地方,这个限制在一段时间前被取消了(https://aws.amazon.com/about-aws/whats-new/2020/10/aws-cloudformation-now-supports-increased-limits-on-five-service -配额/)。
有谁知道解决这个问题的方法或如何解决它?
非常感谢!
解决方案
推荐阅读
- docker - COPY 命令是否创建中间容器?
- actions-on-google - 意图填充槽 - Google Actions Builder
- flutter - Flutter TextFormField 用 NumberFormat 显示值
- php - PhpStorm 2021.2 语法错误即使在修复后也不会消失
- php - substr 与字符串中的破折号一起奇怪地工作
- android - How to put List View in children [], in Flutter
- python - How to generate SparkTrials with some initial solutions in hyperopt
- reactjs - react-dom.development.js?61bb:67 Warning: Expected server HTML to contain a matching in
- git - VS Code always asking for gitlab credentials everyt time i push the code
- neo4j - Neo4J Cypher Query on 5M nodes