创建函数时无法放大推送
Unable to amplify push when function created
使用 aws-amplify cli v4.17.1,当函数包含在 amplify 项目中时,我似乎无法通过使用 'amplify push' 命令推送我的更改。
例如我使用 amplify add function 命令创建了一个简单的 hello world 函数。然后使用 amplify build function 命令构建函数。
最后,当 运行 放大推送时 - 我收到以下错误。
× An error occurred when pushing the resources to the cloud
Only one CloudFormation template is allowed in the resource directory
An error occurred during the push operation: Only one CloudFormation template is allowed in the resource directory
有没有其他人以前遇到过这种情况?
升级到 amplify CLI 版本 4.17.2 已解决此问题
使用 aws-amplify cli v4.17.1,当函数包含在 amplify 项目中时,我似乎无法通过使用 'amplify push' 命令推送我的更改。
例如我使用 amplify add function 命令创建了一个简单的 hello world 函数。然后使用 amplify build function 命令构建函数。
最后,当 运行 放大推送时 - 我收到以下错误。
× An error occurred when pushing the resources to the cloud
Only one CloudFormation template is allowed in the resource directory
An error occurred during the push operation: Only one CloudFormation template is allowed in the resource directory
有没有其他人以前遇到过这种情况?
升级到 amplify CLI 版本 4.17.2 已解决此问题