我目前正在研究 AWS 无服务器 lambda 函数部署,并尝试使用 AWS SAM 进行分发和测试。但是,当我按照官方网站上的 AWS SAM hello world 模板教程进行操作时,我无法真正将代码部署到 AWS。
我已经
但是,我收到错误消息
Error: Stack aws-sam-cli-managed-default is missing Tags and/or Outputs information and therefore not in a healthy state (Current state:aws-sam-cli-managed-default). Failing as the stack was likely not created by the AWS SAM CLI
最佳答案
我也花了一分钟才弄清楚。
在 AWS 中打开 CloudFormation 并删除 aws-sam-cli-managed-default 堆栈,然后尝试重新部署。
每次部署失败时,您可能都必须再次执行此操作。
关于amazon-web-services - AWS SAM 在 hello world 模板下部署错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65436947/