我已经通过sam init创建了sam项目文件。我选择了"nodejs14.x“运行时和hello world模板
sam build看起来不错。
但是sam deploy --guided失败了,错误消息是
Looking for resources needed for deployment:
Creating the required resources...
Error: Failed to create managed resources: Waiter StackCreateComplete failed: Waiter encountered a terminal failure state: For expression "Stacks[].StackStatus" we matched expected path: "ROLLBACK_COMPLETE" at least once 在亚马逊网络服务cloudFormation控制台中,我发现存储桶策略创建失败。

我已经为亚马逊网络服务凭证配置了管理员角色(权限: AdministratorAccess),所以我敢打赌,它被授予创建存储桶策略的权限。那么,我的项目有什么问题呢?请帮帮我。
发布于 2021-09-10 19:33:22
尝试在CloudFormation控制台中删除堆栈并重新部署它。
https://stackoverflow.com/questions/69070461
复制相似问题