amazon-web-services - 在 AWS CloudFormation 中,使用 aws cli 创建新堆栈时,堆栈状态从 CREATE_IN_PROGRESS 更改为 ROLLBACK_COMPLETE

标签 amazon-web-services aws-cloudformation esp8266 aws-iot-core mongoose-os

我使用 AWS 教育账户并密切关注本教程
https://github.com/mongoose-os-apps/aws-iot-button

This is an Internet Button reference project: when a button on the device is pressed, a cloud backend gets a notification and performs an action. In this particular case, AWS Lambda function sends an email to the specific email address.

为此我需要一个堆栈。 但在使用 aws cli 创建新堆栈时,堆栈状态从 CREATE_IN_PROGRESS 更改为 ROLLBACK_COMPLETE。

我尝试从 cli 中删除并重做堆栈,进行必要的更改

aws cloudformation create-stack --stack-name my-internet-button --parameters ParameterKey=TopicName,ParameterValue=$DEVICE_ID/button_pressed ParameterKey=SubscriptionEmail,ParameterValue=$MY_EMAIL --capabilities CAPABILITY_IAM --template-body file://aws_button_template.json

状态仍然下降到 ROLLBACK_COMPLETE

这是我的堆栈事件的图片 enter image description here

最佳答案

ROLLBACK_COMPLETE 的原因是堆栈未能创建 1 个或多个资源。要进行故障排除,请在 Web 控制台上打开堆栈 --> 事件 --> 检查第一个 CREATE_FAILED 资源(从底部开始)和状态原因。

关于amazon-web-services - 在 AWS CloudFormation 中,使用 aws cli 创建新堆栈时,堆栈状态从 CREATE_IN_PROGRESS 更改为 ROLLBACK_COMPLETE,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65308976/

相关文章:

amazon-ec2 - 使用路由 53 创建 RDS cloudformation

aws-cloudformation - 使用模板将资源附加(导入?)到 cloudformation 堆栈

amazon-web-services - 如何在CloudFormation中指定myIP

arduino - ESP8266 返回垃圾值

c - 是否可以让 ESP8266 在 WPA2 企业网络上运行?

audio - 将 mp3 音频从 WebServer 流式传输到 NodeMCU ESP8266?

ios - 如何检查用户是否首次登录 AWS Cognito?

amazon-web-services - 如何将小部件添加到 AWS 中的现有仪表板?

python - 通过 lambda 使用 psycopg2 连接到 amazon rds

java - 我的 jar 在 Elastic Beanstalk EC2 中的哪里